Setcap problems in ubuntu 14.04 LTS

I am using a command in my code to compile my server.

sudo setcap 'cap_net_bind_service=+ep' ./server

      

I didn’t get any errors before while I was using ubuntu 12.04 LTS, but now using Ubuntu 14.04 LTS I get "Error while binding: Permission denied"

Can anyone guide me on what to do in this case

+3


source to share





All Articles