chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag.

This commit is contained in:
Pawel Jakub Dawidek 2006-12-15 19:23:27 +00:00
parent 905cd66703
commit b613495e3c

View File

@ -162,6 +162,10 @@ A non-super-user tries to set one of
.Dv SF_IMMUTABLE , SF_APPEND ,
or
.Dv SF_NOUNLINK .
.It Bq Er EPERM
User tries to set or remove the
.Dv SF_SNAPSHOT
flag.
.It Bq Er EROFS
The named file resides on a read-only file system.
.It Bq Er EFAULT