CAP_LINUX_IMMUTABLE
Set the append-only and immutable inode flags.
- Bit number
- 9
- Mask in /proc/PID/status
- 0000000000000200
- Added in Linux
- Original 2.2 set
- Group
- Files and ownership
That is chattr +a and chattr +i. If chattr fails inside a container with "Operation not permitted" while you are root, this capability is missing from the bounding set.
Check a running process with grep Cap /proc/PID/status, or paste the hex into the mask decoder.
Sources
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.