[Pkg-shadow-devel] Re: Bug#296729: Old proposed patches #3: 461_keep_sticky_bit_for_dirs

Christian Perrier bubulle at kheops.frmug.org
Fri Jan 13 06:22:31 UTC 2006


> 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.




More information about the Pkg-shadow-devel mailing list