GNU bug report logs - #8749
mkdir: feature request --reference

Previous Next

Package: coreutils;

Reported by: Shaun Jackman <sjackman <at> bcgsc.ca>

Date: Fri, 27 May 2011 23:32:03 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Shaun Jackman <sjackman <at> bcgsc.ca>
Cc: "8749 <at> debbugs.gnu.org" <8749 <at> debbugs.gnu.org>, Bob Proulx <bob <at> proulx.com>
Subject: bug#8749: mkdir: feature request --reference
Date: Tue, 31 May 2011 13:06:32 -0700
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.




This bug report was last modified 14 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.