How to use linux capability
does anyone know how to use linux capability commands, including getcaps, setcaps, sucap and execcap.
I tried many times, like
Capabilities for '2735': =ep cap_setpcap-eq
#setpcaps CAP_SETUID+p 2735
[caps set to: = cap_setuid+p]
Failed to set cap's on process '2735': (Operating not permitted)
Actually I also tried other processes, cannot achieve on any process. Could someone tell me how to use it in correct way?