Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do I Grant permissions for Python to have rootless access to the HCI interface

Featured Replies

I am running Home Assistant on Unraid 6.9.2 and one of the components requires that I grant permissions for Python to have rootless access to the HCI interface.  Being the newbie that I am, I do not know how to do that.  Specifically, the installation of the component requires this line: sudo setcap 'cap_net_raw,cap_net_admin+eip' `readlink -f \`which python3\``

 

I know the folder for python3 but I don't understand the setcap parameters. 
In unraid when I specify "sudo getcap `readlink -f \usr\bin\python3\`" I get a '>'.  

Lost past this - Might I trouble the audience for a solution please?

Edited by OrangeLoon
More details

  • Author

I found out the single quote character is incorrect.  Once corrected I get the following error:

sudo setcap 'cap_net_raw,cap_net_admin+eip' 'readlink -f /usr/bin/python3'
sudo: setcap: command not found

Are you sure that you do not need to run the command inside the container instead of at the UnRaid level?

 

you will get better support I think if you use the forum thread specific to that container (that can be accessed via clicking on the container’s icon on the Docker tab).

  • Author

Not sure but great advice - learning!  Thanks

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.