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: Bob Proulx <bob <at> proulx.com>
To: Shaun Jackman <sjackman <at> bcgsc.ca>
Cc: 8749 <at> debbugs.gnu.org
Subject: bug#8749: mkdir: feature request --reference
Date: Tue, 31 May 2011 16:49:44 -0600
Shaun Jackman wrote:
> My use case is working in a directory shared amongst a group of users.
> My umask is 022. I run

If you are working among a group of users then you should set your
umask to be 02 instead of 022.  That is probably the point where you
diverged from common practice and started to have these problems with
mkdir.

Have you looked at the any of the User Private Group documentation
yet?  If not then please do so.  Good stuff there.

> mkdir -pm775 project/subproject
> and I'd like both project and project/subproject to be group-writable.

If you set your umask to be 02 then you no longer need to explicitly
set the mode bits to ug=rwx,o=rx anymore.

Bob




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.