]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
chgrp and chown now dereference symlinks by default, per POSIX.
authorJim Meyering <jim@meyering.net>
Mon, 17 May 2004 12:07:25 +0000 (12:07 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 17 May 2004 12:07:25 +0000 (12:07 +0000)
(chgrp invocation, chown invocation): Document it.

doc/coreutils.texi

index 5e5b8d17a7458a06f04fae2a7ea796023051e065..e1518356b5d81b10ce92d815c84179e5b6f8dc93 100644 (file)
@@ -7954,6 +7954,7 @@ chown -R --from=OLDUSER NEWUSER /
 @cindex symbolic links, changing owner
 @findex lchown
 Do not act on symbolic links themselves but rather on what they point to.
+This is the default.
 
 @item -h
 @itemx --no-dereference
@@ -7962,7 +7963,6 @@ Do not act on symbolic links themselves but rather on what they point to.
 @cindex symbolic links, changing owner
 @findex lchown
 Act on symbolic links themselves instead of what they point to.
-This is the default.
 This mode relies on the @code{lchown} system call.
 On systems that do not provide the @code{lchown} system call,
 @command{chown} fails when a file specified on the command line
@@ -8063,6 +8063,7 @@ changed.
 @cindex symbolic links, changing owner
 @findex lchown
 Do not act on symbolic links themselves but rather on what they point to.
+This is the default.
 
 @item -h
 @itemx --no-dereference
@@ -8071,7 +8072,6 @@ Do not act on symbolic links themselves but rather on what they point to.
 @cindex symbolic links, changing group
 @findex lchown
 Act on symbolic links themselves instead of what they point to.
-This is the default.
 This mode relies on the @code{lchown} system call.
 On systems that do not provide the @code{lchown} system call,
 @command{chgrp} fails when a file specified on the command line