How do I restrict access to a directory for a specific user through samba?
- by dummzeuch
I have got a sub directory of a shared directory that I use Samba with and have set it to be accessible by only one user:
$ cd /mnt/SomeSambaShare
$ ls -lad SomeDir
drwx--S--- 23 SomeUser SomeGroup 4096 2012-07-26 07:44 SomeDir
I cannot access this directory as a linux user other than SomeUser.
But I still can access this directory using a different Samba user than SomeUser. Why is that? And how do I prevent this?