coreutils
[Top][All Lists]
Advanced

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

Re: Suggestion for mkdir


From: Eric Blake
Subject: Re: Suggestion for mkdir
Date: Wed, 20 Nov 2013 14:59:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

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

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