how to force read and write permissions on samba share

source : debian-user-digest # 1436,1517.

[ A ] : Have you tried by setting "create mask¹" value for the share ?
¹ http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#CREATEMASK

[ B ] : create mask¹ plus the force create mode.
The relevant part of my smb.conf is

[winshare]
comment = xxx
path = /home/projekte
valid users = xxx, yyyy
read only = No
create mask = 0664
force create mode = 0660
directory mask = 0770
force directory mode = 0770

[ C ] : Try adding write list and force group directives to the share and see if that helps.

Also, look at the [global] section to check there is no value overriding/conflicting with the [winshare] settings.

[ D ] : Also try the security mode options, which work in a similar way to the create/directory mask options :
- force directory security mode
- force security mode
- security mask
 
 
Creative Commons License
This work by maniac.vardhan is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
 
 

0 comments :: how to force read and write permissions on samba share

Post a Comment