Skip to content
This repository was archived by the owner on Jun 24, 2020. It is now read-only.

Capabilities appear not set during install #13

Open
mssterri opened this issue Jan 3, 2015 · 1 comment
Open

Capabilities appear not set during install #13

mssterri opened this issue Jan 3, 2015 · 1 comment

Comments

@mssterri
Copy link

mssterri commented Jan 3, 2015

Last command in the installation script is:
sudo make install

This results in the execution of:
chmod +x iouyap
sudo cp iouyap /usr/local/bin
sudo setcap cap_net_admin,cap_net_raw=ep iouyap

Executing '/sbin/getcap $(which iouyap)' to verify capabilities yields nothing.

I believe that the command:
'sudo setcap cap_net_admin,cap_net_raw=ep iouyap'
needs to be run on the iouyap in /usr/local/bin ala perhaps:
'sudo setcap cap_net_admin,cap_net_raw=ep $(which iouyap)'
After I did that, my capabilities were set.

Thanks for all of your hard work, developers!

@ak2766
Copy link

ak2766 commented Jan 11, 2015

Hi mssterri.

I raised this a while ago ( see closed issue #5 ) and although the issue was closed, the 'fix' did not address the issue. I did not catch it as I had already created a wrapper update script that set the capabilities on the appropriate iouyap file in /usr/local/bin.

I hope it is fixed once and for all this time around!

Cheers,
ak.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants