SStory
asked on
Samba public share with some private folders inside
Given a Samba share that anyone can scan to, how can I setup private folders within that share folder that only the given user and someone in his group can scan to, i.e. rw over the network?
ASKER
I could do it as a ton of shares. I was hoping to avoid this and have one share that they can all scan too, but private folders within that, that limit who can get to those docs. Is this not possible.
I do know how to make lots of shares, but I know this could result in 20 or more and I'd prefer to not do it that way.
I do know how to make lots of shares, but I know this could result in 20 or more and I'd prefer to not do it that way.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Is there any way other than acl?
I don't understand why it won't work by just setting the owner/group permissions and world to 0, but it does not. Can Samba not allow this?
Is there any way other than acl?
I don't understand why it won't work by just setting the owner/group permissions and world to 0, but it does not. Can Samba not allow this?
ASKER
setfacl in conjunction with the sticky bit to force the group to that user does just want I wanted.
Folder1
.....Folder2
...you would have this:
Folder1
Folder2