samba resetting permissions on extant files on NT_TRANSACT_CREATE

Jeremy Allison jra at
Mon Dec 17 13:09:02 GMT 2001

On Fri, Dec 14, 2001 at 08:20:39PM -0500, Buck Huppmann wrote:
> one of our diligent users discovered this. i'm less diligent, so please
> rebuke me gently
> seems that if samba gets a request to create a file and the file already
> exists, it will reset the perms on the file. this isn't what NT (4, SP6a)
> seems to do, and it's not what UNIX does, so i'm having trouble grokking
> it. at any rate, since it potentially impacts on security, i'm hoping
> either that someone can hack on this or to be made to understand it

Yes, it's a bug. Thanks for reporting it. I've fixed
this in SAMBA_2_2 CVS and HEAD. If you could test it out
I'd appreciate it....



More information about the samba-technical mailing list