[Samba] Samba as Domain Member: user get permission denied accessing share...

Rowland Penny rpenny at samba.org
Wed Mar 9 15:00:25 UTC 2022


On Wed, 2022-03-09 at 08:48 -0600, Patrick Goetz via samba wrote:
> 
> OK, but that presumably resets the "o" permissions on /srv/samba or 
> linux will not let non-domain admins access the contents of that
> folder.

It doesn't reset the 'o' permissions and non-domain admins will not
have access, unless you set them using setfacl, but you shouldn't do
this if you are setting the permissions from Windows.

> 
> 
> I was preparing to post about my frustrations with permissions
> issues, 
> but let me ask separately: why is it necessary to set subsequent 
> permissions from Windows?

There are two ways of setting permissions:

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs 

https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs 

If you only have Linux clients, follow the first.
If you only have Windows clients, follow the second

You should not mix the two ways of setting permissions, pick one and
stick to it. 

Rowland






More information about the samba mailing list