$RodHat_/search
capabilities reference

CAP_CHOWN

Make arbitrary changes to file UIDs and GIDs.

Bit number
0
Mask in /proc/PID/status
0000000000000001
Added in Linux
Original 2.2 set
Group
Files and ownership

Without it a process can only chgrp a file it owns to a group it belongs to, and can never give a file away. Package extraction and backup restores need it. A service that only writes its own files does not.

Check a running process with grep Cap /proc/PID/status, or paste the hex into the mask decoder.

Sources

  1. capabilities(7), Linux man-pages
  2. user_namespaces(7), Linux man-pages

Bit numbers are from linux/capability.h. The list of syscall cards is matched by name from the card text on this site, not from the kernel source. Spot one that's wrong? Tell Rod.