Package: coreutils
Version: 7.4-2
Severity: normal
Hi!
When I make chmod (2xxx|4xxx|6xxx) over a directory, I can set SUID and SGID
bits. However, if I use 0xxx, the SUID and SGID bits aren't removed. But it can
be removed if using u-s and/or g-s. So I think it is a chmod bug and not a
kernel
Joao Eriberto Mota Filho wrote:
When I make chmod (2xxx|4xxx|6xxx) over a directory, I can set SUID
and SGID bits. However, if I use 0xxx, the SUID and SGID bits aren't
removed. But it can be removed if using u-s and/or g-s. So I think
it is a chmod bug and not a kernel bug.
This is
Oh, for the archive I should also point out that this is also
documented in the info pages. I will include a direct link to the
documentation node.
Bob
$ info coreutils 'Directory Setuid and Setgid'
26.4 Directories and the Set-User-ID and Set-Group-ID Bits
3 matches
Mail list logo