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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Karl Berry <karl <at> freefriends.org>
Subject: bug#43162: closed (Re: bug#43162: chgrp clears setgid even when
 group is not changed)
Date: Wed, 02 Sep 2020 02:10:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#43162: chgrp clears setgid even when group is not changed

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 43162 <at> debbugs.gnu.org.

-- 
43162: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43162
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Karl Berry <karl <at> freefriends.org>
Cc: 43162-done <at> debbugs.gnu.org
Subject: Re: bug#43162: chgrp clears setgid even when group is not changed
Date: Tue, 1 Sep 2020 19:09:23 -0700
On 9/1/20 3:30 PM, Karl Berry wrote:
> I was on centos7.
> 
>      (I don't observe your problem on my Fedora 31 box, for example).
> 
> Maybe there is hope for a future centos, then.

Maybe. Or it could be a filesystem or mounting issue. My filesystem was ext4 
mounted rw,relatime,seclabel, for what it's worth.

Anyway, closing the bug report.

[Message part 3 (message/rfc822, inline)]
From: Karl Berry <karl <at> freefriends.org>
To: bug-coreutils <at> gnu.org
Subject: 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.