summaryrefslogtreecommitdiffstats
path: root/usr.sbin/chown
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2002-04-09 20:24:23 +0000
committertrhodes <trhodes@FreeBSD.org>2002-04-09 20:24:23 +0000
commitc8e30faac7d997ad28fe6c7711b8c643854755ee (patch)
tree337ba1d027e89abcc571296fbb11ad535a1c3fee /usr.sbin/chown
parent97bce5a40f6f17a0a765856fadc0df45dd5ee75f (diff)
downloadFreeBSD-src-c8e30faac7d997ad28fe6c7711b8c643854755ee.zip
FreeBSD-src-c8e30faac7d997ad28fe6c7711b8c643854755ee.tar.gz
chown(8) was not describing symlinks correctly, fixed.
PR: 36447 No objections from: ru MFC after: 3 days
Diffstat (limited to 'usr.sbin/chown')
-rw-r--r--usr.sbin/chown/chown.89
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/chown/chown.8 b/usr.sbin/chown/chown.8
index 44ead2a..c7c8a38 100644
--- a/usr.sbin/chown/chown.8
+++ b/usr.sbin/chown/chown.8
@@ -57,7 +57,10 @@
.Ar
.Sh DESCRIPTION
.Nm Chown
-sets the user ID and/or the group ID of the specified files.
+changes the user ID and/or the group ID of the specified files.
+Symbolic links named by arguments are silently left unchanged unless
+.Op Fl h
+is used.
.Pp
The options are as follows:
.Bl -tag -width Ds
@@ -82,8 +85,8 @@ in the files instead of just the files themselves.
Don't report any failure to change file owner or group, nor modify
the exit status to reflect such failures.
.It Fl h
-If the file is a symbolic link, change the user ID and/or the group ID
-of the link itself rather than the file that the link points to.
+If the file is a symbolic link, change the user ID and/or the
+group ID of the link itself.
.It Fl v
Cause
.Nm
OpenPOWER on IntegriCloud