summaryrefslogtreecommitdiffstats
path: root/bin/chflags/chflags.1
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2015-06-01 09:04:57 +0000
committersmh <smh@FreeBSD.org>2015-06-01 09:04:57 +0000
commit32367258066d8eaccf6cc78014ae74b397db7e4b (patch)
tree98f751cb965bcce0515d566fa6ed7a433f62a1b8 /bin/chflags/chflags.1
parent082794a940f23e7eb4f7f03d5fbe9ba4fdd1fe60 (diff)
downloadFreeBSD-src-32367258066d8eaccf6cc78014ae74b397db7e4b.zip
FreeBSD-src-32367258066d8eaccf6cc78014ae74b397db7e4b.tar.gz
MFC r282208:
Standardise chmod, chflags, chown and chgrp recursive symlink processing Relnotes: Yes Sponsored by: Multiplay
Diffstat (limited to 'bin/chflags/chflags.1')
-rw-r--r--bin/chflags/chflags.115
1 files changed, 10 insertions, 5 deletions
diff --git a/bin/chflags/chflags.1 b/bin/chflags/chflags.1
index 47d5b18..755cbce 100644
--- a/bin/chflags/chflags.1
+++ b/bin/chflags/chflags.1
@@ -32,7 +32,7 @@
.\" @(#)chflags.1 8.4 (Berkeley) 5/2/95
.\" $FreeBSD$
.\"
-.Dd April 8, 2013
+.Dd April 20, 2015
.Dt CHFLAGS 1
.Os
.Sh NAME
@@ -66,8 +66,9 @@ nor modify the exit status to reflect such failures.
.It Fl H
If the
.Fl R
-option is specified, symbolic links on the command line are followed.
-(Symbolic links encountered in the tree traversal are not followed.)
+option is specified, symbolic links on the command line are followed
+and hence unaffected by the command.
+(Symbolic links encountered during traversal are not followed.)
.It Fl h
If the
.Ar file
@@ -83,8 +84,12 @@ If the
option is specified, no symbolic links are followed.
This is the default.
.It Fl R
-Change the file flags for the file hierarchies rooted
-in the files instead of just the files themselves.
+Change the file flags of the file hierarchies rooted in the files,
+instead of just the files themselves.
+Beware of unintentionally matching the
+.Dq Pa ".."
+hard link to the parent directory when using wildcards like
+.Dq Li ".*" .
.It Fl v
Cause
.Nm
OpenPOWER on IntegriCloud