From 85342fa7a99b194efd69e2c971ed74a5c4df8877 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 17 Jan 2017 11:13:58 +1300 Subject: [PATCH] chmod.2: ERRORS: add EPERM error for immutable/append-only file Signed-off-by: Michael Kerrisk --- man2/chmod.2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man2/chmod.2 b/man2/chmod.2 index 8f2ef9a25..fc0771742 100644 --- a/man2/chmod.2 +++ b/man2/chmod.2 @@ -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