How do I restrict access to a directory for a specific user through samba?
Posted
by
dummzeuch
on Ask Ubuntu
See other posts from Ask Ubuntu
or by dummzeuch
Published on 2012-07-31T15:20:51Z
Indexed on
2012/09/12
15:52 UTC
Read the original article
Hit count: 268
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?
© Ask Ubuntu or respective owner