[Samba] Dir ACL through windows and chmod

Rowland Penny rpenny at samba.org
Wed Apr 12 13:02:07 UTC 2017


On Wed, 12 Apr 2017 15:48:10 +0300
Dmitry via samba <samba at lists.samba.org> wrote:

> Thank you, but this did nothing. Users from group 'g02' can access 
> folder '01'. But this folder has ACL set up only for group 'g01'

Did you remove the lines from the share ?
Did you restart smbd, nmbd and winbind ?

can you post the result of:

ls -lad /path/to/01

getfacl /path/to/01

Rowland

> 
> 
> > You could investigate using 'access based share enum = yes'
> > 
> > and setting the permissions from Windows, see here:
> > 
> > https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs
> > 
> > You will also need to remove these lines:
> > 
> >      valid users = @"Domain Users" @"Domain Admins" @all
> >      admin users = admin @it
> > #    inherit acls = yes
> >      force create mode = 0777
> >      directory mask = 0770
> >      hide unreadable = yes
> > 
> > Rowland
> 




More information about the samba mailing list