Sticky/sgid/suid bits safe on regular files?
Dan Strick
strick at covad.net
Tue Jun 22 05:17:37 PDT 2004
Daniel O'Connor wrote:
>>
> I think he wanted to use sticky/sgid/suid because they get removed
> when the file is changed.
>>
and Dag-Erling S?rgrav responded:
>>
> no they don't.
>>
Actually, they do. (just the sgid/suid bits)
I believe this was an ancient BSD security enhancement in case
someone accidentally left a world writeable suid file around.
Dan Strick
More information about the freebsd-hackers
mailing list