GNU bug report logs - #43162
chgrp clears setgid even when group is not changed

Previous Next

Package: coreutils;

Reported by: Karl Berry <karl <at> freefriends.org>

Date: Tue, 1 Sep 2020 21:26:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Karl Berry <karl <at> freefriends.org>
To: 43162 <at> debbugs.gnu.org
Subject: bug#43162: chgrp clears setgid even when group is not changed
Date: Tue, 1 Sep 2020 15:25:45 -0600
Is it necessary for chgrp to clear setgid on directories even when the
group is not actually changed? In my life at least, it is rather
annoying. --thanks, karl.

$ mkdir foo
$ chmod g+s foo
$ ls -ld foo
drwxrwsr-x 2 karl root 6 Sep  1 10:36 foo/
$ chgrp root foo
$ ls -ld foo
drwxrwxr-x 2 karl root 6 Sep  1 10:36 foo/




This bug report was last modified 4 years and 337 days ago.

Previous Next


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