I am working on a project that requires using raw_sockets and raw sockets to work needs CAP_NET_RAW we used setcap and it worked fine, now the executable is on NFS, and nw setcap can’t be used is their a work around? Thanks in advance
I tried chown root and chmod u+s to increase prevelage of my executable but it didn’t work
Your app uses raw sockets, and raw sockets requires that the process have
CAP_NET_RAWcapability, correct?You've been relying on extended attributes to associate CAP_NET_RAW capability with your app's executable file, but your NFS server doesn't support this, correct?
Here's a potential workaround: