[Samba] directory permission problems

Adam Williams awilliam at mdah.state.ms.us
Fri Apr 10 13:30:11 GMT 2009


I have shares such as the one below.  Users in the group (in this 
example, the group grants) can access the root directory of the share 
(\\roark\grants) just fine, and it and all files and subfolder 
permissions are 770 and owned by the group grants, but users have 
problems going into subfolders, getting access denied errors.  Or, in 
the root directory they can create files, but not delete or rename them, 
even though the file is created with ownership of group grant, they are 
in the grants group, and permissions are 770.  The only fix would be to 
chmod -R 777 /samba/grants.  Has anyone had this problem or know of a 
solution?

[grants]
        path = /samba/grants
        force directory mode = 0770
        browseable = No
        create mask = 0770
        force create mode = 0770
        directory mask = 0770
        force directory mode = 0770
        writeable = Yes
        force group = grants
        valid users = @grants
csc policy = disable
profile acls = yes
nt acl support = no
force security mode = 777



More information about the samba mailing list