diff options
author | yar <yar@FreeBSD.org> | 2001-06-29 11:45:14 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2001-06-29 11:45:14 +0000 |
commit | d6f3122a7619ca1641579e10c64d3b896033b836 (patch) | |
tree | 7c3656b90d31b47c0175ee85661e3bb1eb5858f5 | |
parent | d82893e6762433665a192f6ffe2dad2a1a6c0678 (diff) | |
download | FreeBSD-src-d6f3122a7619ca1641579e10c64d3b896033b836.zip FreeBSD-src-d6f3122a7619ca1641579e10c64d3b896033b836.tar.gz |
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
-rw-r--r-- | bin/mkdir/mkdir.1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1 index 54d9fac..82ca4e5 100644 --- a/bin/mkdir/mkdir.1 +++ b/bin/mkdir/mkdir.1 @@ -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 |