[Samba] Samba 3.4.3 and DOS read only

Jeremy Allison jra at samba.org
Fri Aug 17 15:41:57 MDT 2012


On Fri, Aug 17, 2012 at 02:06:22PM -0700, Jim Gallagher wrote:
> Jeremy,
> 
> Thanks for the reply! Unfortunately, it did not work. Here is the global
> section from smb.conf and the section for the share that I tested with:

Hmmm. I just tested with top-of-tree 3.6.x and the settings:

store dos attributes = no
dos filemode = yes
map readonly = yes

and using smbclient "setmode" command I can toggle
the user "w" bit on the server by doing :

smb: \> setmode filename +r
smb: \> setmode filename -r

Jeremy.


More information about the samba mailing list