summaryrefslogtreecommitdiffstats
path: root/bin/chflags
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2003-03-24 20:15:58 +0000
committerjohan <johan@FreeBSD.org>2003-03-24 20:15:58 +0000
commitce3ef17035de0fa3ce3ebe9ce33d9a6a577a9ce8 (patch)
treecb993b3f44378407c6b6cb496fbd86e25af53bfe /bin/chflags
parent700c1cb2ba67302317aeb58b12bde74d7d77322e (diff)
downloadFreeBSD-src-ce3ef17035de0fa3ce3ebe9ce33d9a6a577a9ce8.zip
FreeBSD-src-ce3ef17035de0fa3ce3ebe9ce33d9a6a577a9ce8.tar.gz
Document how to clear flags with negative-logic, currently only
the nodump flag. PR: 46912 Reported by: dave@syix.com <dave@syix.com> MFC after: 2 weeks
Diffstat (limited to 'bin/chflags')
-rw-r--r--bin/chflags/chflags.113
1 files changed, 9 insertions, 4 deletions
diff --git a/bin/chflags/chflags.1 b/bin/chflags/chflags.1
index 0ce080f..843e9aa5 100644
--- a/bin/chflags/chflags.1
+++ b/bin/chflags/chflags.1
@@ -35,7 +35,7 @@
.\" @(#)chflags.1 8.4 (Berkeley) 5/2/95
.\" $FreeBSD$
.\"
-.Dd May 2, 1995
+.Dd Mar 24, 2003
.Dt CHFLAGS 1
.Os
.Sh NAME
@@ -110,11 +110,16 @@ aliases for the above
.Pp
Putting the letters
.Dq Ar no
-before an option causes the flag to be turned off.
+before or removing the letters
+.Dq Ar no
+from a keyword causes the flag to be cleared.
For example:
-.Bl -tag -offset indent -width "nouchg"
+.Pp
+.Bl -tag -offset indent -width "nouchg" -compact
.It Ar nouchg
-the immutable bit should be cleared
+clear the user immutable flag (owner or super-user only)
+.It Ar dump
+clear the nodump flag (owner or super-user only)
.El
.Pp
Symbolic links do not have flags, so unless the
OpenPOWER on IntegriCloud