Add a note on what happens if the "-p" option is specified

and a final directory already exists.

Reviewed by:	freebsd-audit
MFC after:	5 days
This commit is contained in:
Yaroslav Tykhiy 2001-06-29 11:45:14 +00:00
parent 6be523bca7
commit c8dac8d42c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78963

View File

@ -73,6 +73,8 @@ are interpreted relative to an initial mode of
Create intermediate directories as required.
If this option is not specified, the full path prefix of each
operand must already exist.
On the other hand, with this option specified, no error will
be reported if a directory given as an operand already exists.
Intermediate directories are created with permission bits of
.Li rwxrwxrwx (\&0777)
as modified by the current umask, plus write and search