CAP_LEASE
Establish leases on arbitrary files.
- Bit number
- 28
- Mask in /proc/PID/status
- 0000000010000000
- Added in Linux
- 2.4
- Group
- Files and ownership
A process can take out a lease with fcntl(F_SETLEASE) on a file whose UID matches its filesystem UID without this capability. It only matters for other people's files.
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.