summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-03-19 23:51:09 +0000
committerdd <dd@FreeBSD.org>2001-03-19 23:51:09 +0000
commit3e0cbfbda1820ae16970cf256661fbe35acd3006 (patch)
tree33282af694c1abcbb4c5c783521c1595bdf00548 /lib/libc
parentaabc4b7e05227f2e12400e8f2ed218d10c9deb7f (diff)
downloadFreeBSD-src-3e0cbfbda1820ae16970cf256661fbe35acd3006.zip
FreeBSD-src-3e0cbfbda1820ae16970cf256661fbe35acd3006.tar.gz
Make it clear who can and can't set the UF_NODUMP, UF_OPAQUE, and
SF_ARCHIVED file flags. PR: 25227 Approved by: nik
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/chflags.211
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2
index b97bf95..74c2c01 100644
--- a/lib/libc/sys/chflags.2
+++ b/lib/libc/sys/chflags.2
@@ -84,16 +84,19 @@ The file may not be renamed or deleted.
.Pp
The
.Dq UF_IMMUTABLE ,
-.Dq UF_APPEND
+.Dq UF_APPEND ,
+.Dq UF_NOUNLINK ,
+.Dq UF_NODUMP ,
and
-.Dq UF_NOUNLINK
+.Dq UF_OPAQUE
flags may be set or unset by either the owner of a file or the super-user.
.Pp
The
.Dq SF_IMMUTABLE ,
-.Dq SF_APPEND
+.Dq SF_APPEND ,
+.Dq SF_NOUNLINK ,
and
-.Dq SF_NOUNLINK
+.Dq SF_ARCHIVED
flags may only be set or unset by the super-user.
Attempts by the non-super-user to set the super-user only flags
are silently ignored.
OpenPOWER on IntegriCloud