[Samba] ACLs under windows 7 - you do not have permissions to access
monyo at monyo.com
Thu Feb 3 09:50:19 MST 2011
2011/2/1 sisu . <npillao at hotmail.com>:
> Hi all again,
> Finally I found the source of my problem, it was I set "force group = root" parameter on my shares, It was really useful for me since whether an user created a file it forced the group root as a primary root and then as I had the default acls (for secondary group) for example:
> drwxrwx---+ 2 user root 6 Feb 1 11:04 test_file
> thus only the members of this secondary group (tech) were able to interact with that file due to the default acl I had on this directory.
> Currently the problem that I have is all the users are in the same group 'company' then as I can't force the group as root the default group will be 'company', which implies everybody will have access to this file.
> drwxrwx---+ 2 user company 6 Feb 1 11:14 test_file2
> Any suggestion? Thanks again for your support !
"force group = root" affects only the *permission group*, not the groups defined
So simply "force group = root" will solve the problem. Try it!
TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba