On 11/20/2013 02:51 PM, Renich Bon Ciric wrote:
> Hello,
> 
> I'd like to suggest that:
> 
> mkdir -m 2771 -p /tmp/some/nonexistent/dir
> 
> sets 2751 to all created dirs; not just the last one.

Such a change would require a new command line option, because the
current behavior is mandated by POSIX:

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mkdir.html

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to