homebridge-am43-blinds
homebridge-am43-blinds copied to clipboard
unable to set CAP_SETFCAP effective capability: Operation not permitted
hoobs@hoobs:/var/lib/homebridge $ sudo setcap cap_net_raw+eip $(eval readlink -f $(which node)) unable to set CAP_SETFCAP effective capability: Operation not permitted
Not sure how to get around this!
This probably happens because the user hoobs
isn't allowed to use sudo
.
Since I'm assuming you are using the hoobs product, I would contact them about this issue and how to resolve it.
I'm experiencing the same.
I'm using Raspian Homebridge on a Pi Model 4. Even trying as root throws the same error. Can anyone help?
pi@homebridge:/var/lib/homebridge $ sudo setcap cap_net_raw+eip $(eval readlink -f $(which node)) unable to set CAP_SETFCAP effective capability: Operation not permitted pi@homebridge:/var/lib/homebridge $ sudo su root@homebridge:/var/lib/homebridge# sudo setcap cap_net_raw+eip $(eval readlink -f $(which node)) unable to set CAP_SETFCAP effective capability: Operation not permitted root@homebridge:/var/lib/homebridge#
(EDIT: New to GitHub. Tagging @renssies in case it's not immediately obvious that this thread has been dug up after nearly 6months 😂)
@matteusz88 Try this: sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
It comes straight from the noble bluetooth package's readme: https://github.com/abandonware/noble#running-without-rootsudo-linux-specific
had the same problem on hombridhe.io but bluetooth has no problem to work so did not stop me