[Samba] Please help me how to fix "read only" file problem

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Mar 7 13:37:28 GMT 2009


On Sat, Mar 07, 2009 at 02:13:55PM +0100, Jaroslav Fojtik wrote:
> Dears,
> 
> I have tested SVN on samba drive and it totally fails.
> Please help me to navigate in source code, where attributes are set.
> It would be better either to fix it or at least to block R attribute 
> to set.
> 
> fojtik at dvouramenna:~/ESC_sro/Kancl/.svn$ chmod 777 entries
> fojtik at dvouramenna:~/ESC_sro/Kancl/.svn$ ls -la entries
> -rwxrwxrwx  1 fojtik users 300 Mar  7 13:38 entries
> 
> M:\ESC_sro\Kancl\.svn>attrib entries
> A          M:\ESC_sro\Kancl\.svn\entries
> 
> M:\ESC_sro\Kancl\.svn>attrib +r entries
> M:\ESC_sro\Kancl\.svn>attrib entries
> A    R     M:\ESC_sro\Kancl\.svn\entries
> 
> fojtik at dvouramenna:~/ESC_sro/Kancl/.svn$ ls -la entries
> -r-xr-xr-x  1 fojtik users 300 Mar  7 13:38 entries
> 
> M:\ESC_sro\Kancl\.svn>attrib -r entries
> Access denied - M:\ESC_sro\Kancl\.svn\entries
> 
> >From this point there is no way to handle a file on samba drive.
> Access is denied. But user "fojtik" still could change right on 
> Linux site. There is something wrong.

Try "store dos attributes = yes", given that you have a file
system mounted with xattrs enabled.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090307/5d604c42/attachment.bin


More information about the samba mailing list