Matt McCutchen <[EMAIL PROTECTED]> writes:

> I would like mkdir -p to observe the default ACL in preference to the umask
> (as nearly all other programs do) when creating parent directories.

Sorry, but POSIX requires that "mkdir -p FOO/BAR" must create FOO as
if by the following command:

mkdir -m $(umask -S),u+wx FOO

See:

http://www.opengroup.org/susv3/utilities/mkdir.html

It might make sense to add the behavior you desire, as a new option to
mkdir, but I'd have some qualms about changing the existing, standard
behavior, as people may be relying on it.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to