chmod.2: ERRORS: add EPERM error for immutable/append-only file

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-17 11:13:58 +13:00
parent 6f9433349c
commit 85342fa7a9
1 changed files with 5 additions and 0 deletions

View File

@ -278,6 +278,11 @@ and the process is not privileged (Linux: it does not have the
.B CAP_FOWNER
capability).
.TP
.B EPERM
The file is marked immutable or append-only.
(See
.BR ioctl_iflags (2).)
.TP
.B EROFS
The named file resides on a read-only filesystem.
.PP