bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #19546] mkdir -p should use default ACL for parent directories


From: Paul Eggert
Subject: Re: [bug #19546] mkdir -p should use default ACL for parent directories
Date: Mon, 09 Apr 2007 11:11:57 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Matt McCutchen <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]