unlink.2: ERRORS: add EPERM error for immutable/read-only files

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-17 10:16:13 +13:00
parent 5fae754f7f
commit 663c13027a
1 changed files with 5 additions and 0 deletions

View File

@ -233,6 +233,11 @@ the process is not privileged (Linux: does not have the
.B CAP_FOWNER
capability).
.TP
.B EPERM
The file to be unlinked is marked immutable or append-only.
(See
.BR ioctl_iflags (2).)
.TP
.B EROFS
.I pathname
refers to a file on a read-only filesystem.