Patch for unix extensions

jra at dp.samba.org jra at dp.samba.org
Thu Jan 2 17:01:09 GMT 2003


On Wed, Jan 01, 2003 at 01:01:19PM +0100, Simo Sorce wrote:
> My idea was this:
> let make it so taht if unix extensions are enabled, then we NEVER
> resolve the links if we permit link creation.

So if unix extensions are "true", then all opens set O_NOFOLLOW.
Ok if O_NOFOLLOW is defined and exists in the kernel - otherwise
it's a nasty security hole waiting to happen.

Jeremy.



More information about the samba-technical mailing list