July 20, 20214 yr 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 July 21, 20214 yr by OrangeLoon More details
July 21, 20214 yr 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
July 21, 20214 yr 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).
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.