Reword the description of -R a bit and add a note about being careful
when -R is combined with patterns that might match ".." (like ".*"). PR: 46415 Submitted by: Gary W. Swearingen <swear@attbi.com>
This commit is contained in:
parent
6c5b0e25a0
commit
0f2e01e04d
@ -80,8 +80,12 @@ If the
|
||||
option is specified, no symbolic links are followed.
|
||||
This is the default.
|
||||
.It Fl R
|
||||
Change the user ID and/or the group ID for the file hierarchies rooted
|
||||
in the files instead of just the files themselves.
|
||||
Change the user ID and/or the group ID of the specified directory trees
|
||||
(recursively, including their contents) and files.
|
||||
Beware of unintentionally matching the
|
||||
.Dq Pa ".."
|
||||
hard link to the parent directory when using wildcards like
|
||||
.Dq Li ".*" .
|
||||
.It Fl f
|
||||
Don't report any failure to change file owner or group, nor modify
|
||||
the exit status to reflect such failures.
|
||||
|
Loading…
Reference in New Issue
Block a user