[Samba] how to set different permission for samba share

Stefan Kania stefan at kania-online.de
Thu Dec 1 07:48:32 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Best thing would be use the filesystem ACLs

Am 01.12.2016 um 08:24 schrieb Fatemeh Mehdizadeh via samba:
> Hi all, I'm on FreeBSD11 and I install samba36. I have some users
> and groups. user1, user2 -> group1 user3->group3 
> user4,user5->group4
> 
> I have a share: /extra/samba-test
> 
> Access to the share is :
> 
> user1->writable user4->readable group4->writable group3->writable
> 
> My config file is:
> 
> [samba-share] comment= aa path= /extra/samba-test public= no 
> browsable= yes writable=no write list=@group4 @group3 user1
> 
> The  question is: 1. How should I say user4 has readonly access to
> the share? 2. how should I set the permission in unix?
> 
> Thank you for your reply and help.
> 

- -- 
Stefan Kania
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlg/1dAACgkQ2JOGcNAHDTYCUQCfVb0IMkprY96ktiaRG6XsiQsi
AZQAnRIpQ/xECoQbdz+fXXTvS8F4zQ46
=UxPJ
-----END PGP SIGNATURE-----



More information about the samba mailing list