summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-12-15 19:23:27 +0000
committerpjd <pjd@FreeBSD.org>2006-12-15 19:23:27 +0000
commit6e9534365d1b39363503d66a3d1942dc144e1aa4 (patch)
treedbdc5760e303e91d0303ba5a7bb1cc0e23d1bd0a
parent0571bed7ae0b2e4f6160d4cb7f6776d676cb6b9a (diff)
downloadFreeBSD-src-6e9534365d1b39363503d66a3d1942dc144e1aa4.zip
FreeBSD-src-6e9534365d1b39363503d66a3d1942dc144e1aa4.tar.gz
chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag.
-rw-r--r--lib/libc/sys/chflags.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2
index fff18e4..9c3788a 100644
--- a/lib/libc/sys/chflags.2
+++ b/lib/libc/sys/chflags.2
@@ -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
OpenPOWER on IntegriCloud