how to get different permission to subdirectory of a share in samba
hello
I would like to know how can I get permission to subdirectories of a share other than what main share has. I do not want them to have same share I mean for example I share "sharetest" and it has full access for A and B and C groups but "sharetest/foo1" has read only access for A group and "sharetest/foo2" has read only access for B group and "sharetest/foo3" has read only access for all of them. thanks for any solution. |
I use the following:
setfacl -m g:A:rwx sharetest setfacl -m g:B:rwx sharetest setfacl -m g:C:rwx sharetest setfacl -m g:A:r sharetest/foo1 setfacl -m g:B:r sharetest/foo2 setfacl -m g:A:r sharetest/foo3 setfacl -m g:B:r sharetest/foo3 setfacl -m g:C:r sharetest/foo3 You can review those ACLs with getfacl HTH, Ryan Ivey Linux Administrator Initial Source Solutions, LLC www.initialss.com |
I did that but it did not work. I mean I set acl and saw it wit getfacl command and it was set but I can not access to those folders that I want and can not limit those folders that I want .
what more should I do? |
as I understood setfacl affect local filesystem permission as test not shared folder permission status on network what do I miss?
|
All times are GMT -5. The time now is 01:02 PM. |