inode_owner_or_capable(9)

inode_owner_or_capable9

Check current task permissions to inode

Usage

bool inode_owner_or_capable(const struct inode * inode);

Arguments

inode

inode being checked

Overview

Return true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.