[Samba] Fwd: Samba semantics error?

Jeremy Allison jra at samba.org
Wed Nov 19 20:46:48 GMT 2003


On Mon, Nov 10, 2003 at 03:49:30PM -0800, Mike Fedyk wrote:
> On Sun, Nov 09, 2003 at 12:02:21PM +1100, Andrew Bartlett wrote:
> > Under windows, I don't think you can delete a 'read only' file.
> > 
> > Samba takes the missing 'w' for any user as meaning a read-only file.
> 
> I most certainly can.
> 
> I just tried it against a NT4 server, and locally, and it worked perfectly.
> 
> Create temp file, mark read only, delete.  Successful.  Even against samba
> 3.0.0 the file is deletable.

This is not correct. On my W2K box :

c:\> echo >ro
c:\> attrib +r ro
c:\> del ro
c:\ro
Access is denied.

I don't know how you're doing this but it isn't via the command line.
The GUI may be doing something different (implicitly removing the R attribute).

Please explain the exact semantics you think we should have, and what
you're not getting.

Thanks,

	Jeremy.



More information about the samba mailing list