Web lists-archives.com

Re: [Samba] Dir ACL through windows and chmod




On Wed, 12 Apr 2017 15:48:10 +0300
Dmitry via samba <samba@xxxxxxxxxxxxxxx> 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
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba