diff options
author | Jim Meyering <jim@meyering.net> | 2003-11-26 11:21:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-11-26 11:21:28 +0000 |
commit | 8580fa2908a9b458a3bab42aa3e1bc9e8fcfa4d9 (patch) | |
tree | 4998df2f0a6d1014896daf1e9ef2e69d66f2e024 | |
parent | a69915d6a4f9a9dca34459ff07644d2ed19c0860 (diff) | |
download | coreutils-8580fa2908a9b458a3bab42aa3e1bc9e8fcfa4d9.tar.xz |
(Traversing symlinks): Rearrange things.
(chown invocation): Add xrefs to `Traversing symlinks' for -H, -P, -L.
(chgrp invocation): Likewise.
-rw-r--r-- | doc/coreutils.texi | 44 |
1 files changed, 32 insertions, 12 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 3b2ecacd5..aaf34ab55 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -901,8 +901,6 @@ other parts of that standard. @node Traversing symlinks @section Traversing symlinks -@macro chownchgrpoptions - @cindex symbolic link to directory, controlling traversal of The following options modify how @command{chown} and @command{chgrp} @@ -910,39 +908,47 @@ The following options modify how @command{chown} and @command{chgrp} @c different meaning. traverse a hierarchy when the @option{--recursive} (@option{-R}) option is also specified. -If more than one is specified, only the final one takes effect. -These options determine whether processing a symbolic link to a directory +If more than one of the following options is specified, only the final +one takes effect. +These options specify whether processing a symbolic link to a directory entails operating on just the symbolic link or on all files in the hierarchy rooted at that directory. -Note that these options are independent of @option{--dereference} and + +These options are independent of @option{--dereference} and @option{--no-dereference} (@option{-h}), which control whether to modify a symlink or its referent. @table @samp +@macro choptH @item -H @opindex -H @cindex symbolic link to directory, traverse each that is specified on the command line If @option{--recursive} (@option{-R}) is specified and a command line argument is a symbolic link to a directory, traverse it. +@end macro +@choptH +@macro choptL @item -L @opindex -L @cindex symbolic link to directory, traverse each that is encountered In a recursive traversal, traverse every symbolic link to a directory that is encountered. +@end macro +@choptL +@macro choptP @item -P @opindex -P @cindex symbolic link to directory, never traverse Do not traverse any symbolic links. This is the default if none of @option{-H}, @option{-L}, or @option{-P} is specified. - -@end table @end macro +@choptP -@chownchgrpoptions +@end table @node Treating / specially @@ -7772,9 +7778,16 @@ its referent is being changed. @cindex recursively changing file ownership Recursively change ownership of directories and their contents. -@end table +@choptH +@xref{Traversing symlinks}. -@chownchgrpoptions +@choptL +@xref{Traversing symlinks}. + +@choptP +@xref{Traversing symlinks}. + +@end table @node chgrp invocation @@ -7871,9 +7884,16 @@ its referent is being changed. @cindex recursively changing group ownership Recursively change the group ownership of directories and their contents. -@end table +@choptH +@xref{Traversing symlinks}. -@chownchgrpoptions +@choptL +@xref{Traversing symlinks}. + +@choptP +@xref{Traversing symlinks}. + +@end table @node chmod invocation |