From d6f3122a7619ca1641579e10c64d3b896033b836 Mon Sep 17 00:00:00 2001 From: yar Date: Fri, 29 Jun 2001 11:45:14 +0000 Subject: 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 --- bin/mkdir/mkdir.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/mkdir') 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 -- cgit v1.1