[Samba] SAMBA - how to restrict read and write

Paul Venzke venzkep at srt.com
Sat Oct 15 23:23:51 MDT 2011



> -----Original Message-----
> From: samba-bounces at lists.samba.org [mailto:samba-
> bounces at lists.samba.org] On Behalf Of fasil km
> Sent: Saturday, October 15, 2011 6:45 AM
> To: samba at lists.samba.org
> Subject: [Samba] SAMBA - how to restrict read and write
> 
> Hi,
> First of all let me thank you all for such a good support :)
> 
> I am trying to create a share that can be accessed by few users. In
> that, 2
> users alone should have write permission.
> please find below my smb.conf file
> 
> [share]
> comment = armand_share
> path = /armand_share
> writable = no
> read only = no
> browseable = yes
> writelist = @sharewrite
> valid users = carlo,isidro,philip,faisal,jojo,retish
> 
<snip>
> 
> --
> Thanks & Regards,
> Fasil
> Mob: +966 55 8567449
> --

Fasil;

The parameters "read only" and "writeable" are just inverses of one another.
Thus "read only = no" means writeable = yes" and "writeable = no" means
"read only = yes".  See: man smb.conf.  You can see the real parameters set
on the share with "testparm".

PV



More information about the samba mailing list