On Tue, Apr 17, 2007 at 11:49:49PM +0200, xrado wrote:
> i tried with samba 3.0.22 and 3.0.24 and not working
> or i have something misconfigurated
> 
> when i copy file to share it have -rwxrw----
> after flaging it readonly become -r-xr-----
> 
> and i can still delete it with windows explorer
> 
> any idea why?

Firstly, modern Samba stores DOS attributes
in extended attributes, so removing the 'w'
bits doesn't make a file read-only, it changes
the access permissions (not the same thing).

Check what the setting of the user.DOSATTRIB
ea is.

Secondly, Windows explorer asks if you want
to delete a read-only file first - if you
say "yes" it removes the read-only attrib
then deletes it.

Samba works correctly with these calls.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to