GNU bug report logs - #5826
[feature] chmod +S to setgid directories alike +X

Previous Next

Package: coreutils;

Reported by: Michał Górny <gentoo <at> mgorny.alt.pl>

Date: Sat, 3 Apr 2010 11:28:01 UTC

Severity: wishlist

Tags: wontfix

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Michał Górny <gentoo <at> mgorny.alt.pl>
Cc: 5826 <at> debbugs.gnu.org
Subject: bug#5826: [feature] chmod +S to setgid directories alike +X
Date: Sat, 03 Apr 2010 16:26:15 +0200
Michał Górny <gentoo <at> mgorny.alt.pl> writes:

> I would really appreciate if chmod supported setting setgid permissions
> on directories (and files already having such) recursively, much like
> '+X' does set executable permission. To match the '+X' one, I suggest
> using '+S' for that.

Since there is only a single setgid bit (unlike the exec bits) I don't
see the point of +S (it looks like a no-op).  Moreover, anything more
complex than what chmod already provides can easily be accomplished with
find.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 15 years and 56 days ago.

Previous Next


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