$RodHat_/search
capabilities reference

CAP_DAC_OVERRIDE

Bypass file read, write and execute permission checks.

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

This is most of what "root can read anything" means. It does not make a file executable: execute is only overridden when at least one execute bit is set on the file. Daemons that run as root only to read their own config usually need CAP_DAC_READ_SEARCH at most, or just the right group.

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.