Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 05:17:34 -0700 (PDT)
From:      Dan Strick <strick@covad.net>
To:        freebsd-hackers@freebsd.org
Cc:        dan@mist.nodomain
Subject:   Re: Sticky/sgid/suid bits safe on regular files?
Message-ID:  <200406221217.i5MCHYvj003485@mist.nodomain>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406221217.i5MCHYvj003485>