Re: Bug#296729: Old proposed patches #3: 461_keep_sticky_bit_for_dirs
Christian Perrier <[email protected]> Fri, 13 Jan 2006 07:22:31 +0100
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
> So using sticky bit on Linux is limited in practise to using > on /tmp, /var/tmp. IMO currend useradd behavior not propagate this > atributes from skel to user home directory it is not bug but feacture. > > If you can convice this is feacture -> it will be have documented this > in useradd(8). I was (and the bug submitter) more thinking about possible use for the set-uid or set-gid bits, indeed. Sorry for thge mis-explanation. I agree that there does not seem to be uses for propagating the sticky bit.....but, well, it also does not hurt to propagate it in case some admin fins a weird use for it. The main concern indeed is more the setgid bit which definitely may have some uses (look in the #296729 bug log). The proposed patch keeps these bits when they are set on files or directories in the skeleton.