Something I've been wrestling with for quite a while and have never been able to solve.
I have a folder which contains 2 nested folders on a Samba server:
I need three user groups:
GroupMain, GroupA, GroupB.
What I need is to have the MainFolder open to everyone,
"NestedA" accessible only to GroupA,
and the folder "NestedB" only accessible to GroupB.
No matter what I do, it seems as though the permissions for MainFolder are inherited to all subfolders. GroupMain still has access to the subfolders even when I created the extra 2 shares in samba for NestedA and NestedB.
I'm not exactly sure if it's a Samba issue or a Linux permission issue.
Is it possible to restrict access to a certain group on a subfolder in SAMBA?