|
From: | Ariel |
Subject: | mkdir bug with -m and -p together |
Date: | Tue, 15 Jan 2008 13:07:12 -0500 (EST) |
-p does not use the mode from -m for parent directories: # mkdir -p -m 700 foo/bar # ls -ld foo foo/bar The directory foo does not have the correct permissions. I can imagine: # mkdir -p -m 500 foo/barCausing problems though, but unless it's easy to handle, I would ignore it (the user got what he requested).
-Ariel
[Prev in Thread] | Current Thread | [Next in Thread] |