--- Begin Message ---
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/
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#43162: chgrp clears setgid even when group is not changed |
Date: |
Tue, 1 Sep 2020 19:09:23 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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.
--- End Message ---