[Samba] Share Permissions - 3.6.9

Jonathan Buzzard jonathan at buzzard.me.uk
Mon Mar 31 06:05:32 MDT 2014


On Mon, 2014-03-31 at 13:52 +0200, steve wrote:
> On Sun, 2014-03-30 at 09:11 -0700, Anthony Hare wrote:
> > Hello,
> > 
> > 
> > Trying to setup a samba share with the following (samba 3.6.9)-
> > 
> > 
> > Allow only - user1,user2,user3,user4,user5
> > 
> > Write- user1,user2,user3
> > 
> > Read- user4,user5
> > 
> > 
> > Messing around with smb.conf
> 
> >  
> Stop messing around?
> 
> setfacl -m u:user1:rw /path/to/share
> setfacl -m u:user4:r /path/to/share
> 

The other option would be to put in the acl_xattr VFS and set ACL's
using cifutils or a Windows host.

Mucking about with options in smb.conf in 2014 is not the way to do it.

JAB.

-- 
Jonathan A. Buzzard                 Email: jonathan (at) buzzard.me.uk
Fife, United Kingdom.



More information about the samba mailing list