bug-coreutils
[Top][All Lists]
Advanced

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

bug#8749: mkdir: feature request --reference


From: Paul Eggert
Subject: bug#8749: mkdir: feature request --reference
Date: Tue, 31 May 2011 13:06:32 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

On 05/31/11 11:12, Shaun Jackman wrote:

> My use case is working in a directory shared amongst a group of users.
> My umask is 022. I run
> mkdir -pm775 project/subproject

You're typing stuff like that by hand?  I'd expect that sort of
thing to be in a script.  Either way, you can do this instead:

(umask g+w; mkdir -p project/subproject)

This is portable and doesn't require any changes to mkdir.





reply via email to

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