This is a discussion on Re: [Samba] write list vs read list within the Samba forums, part of the Networking and Network Related category; On Monday 14 April 2008, Luca Ferrari wrote: > > [LABORATORIO_SMB] > > =A0 =A0 =A0 =A0 comment =A0 =A0 =...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Monday 14 April 2008, Luca Ferrari wrote:
> > [LABORATORIO_SMB] > > =A0 =A0 =A0 =A0 comment =A0 =A0 =A0 =A0 =A0 =3D Cartella privata Labora= torio > > =A0 =A0 =A0 =A0 path =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D /mnt/samba/lab_smb > > =A0 =A0 =A0 =A0 browsable =A0 =A0 =A0 =A0 =3D yes > > =A0 =A0 =A0 =A0 valid users =A0 =A0 =A0 =3D @laboratorio, @estero > > =A0 =A0 =A0 =A0 write list =A0 =A0 =A0 =A0=3D @laboratorio > > =A0 =A0 =A0 =A0 read only =A0 =A0 =A0 =A0 =3D yes > > No way! That works for me all day long. And it was more in reference to your first post: > I'd like to set a share as writable for a specific users' group, and > only readable for another You can simplify as I show, you don't need a "write list" and a "read=20 list". If you make a share "read only" then it is read only by default,=20 yet those on the "write list" will have write privileges. The less=20 complicated, the easier to read and troubleshoot. > [LABORATORIO_SMB] > comment =3D Cartella privata Laboratorio > path =3D /mnt/samba/lab_smb > browsable =3D yes > available =3D yes > valid users =3D @laboratorio, @estero, luca.ferrari > write list =3D @laboratorio > read list =3D @estero, luca.ferrari > writable =3D yes > > but the testparm still says: > > [LABORATORIO_SMB] > comment =3D Cartella Laboratorio Sassuolo > path =3D /mnt/samba/laboratorio_smb > valid users =3D @laboratorio > read list =3D @estero, luca.ferrari > write list =3D @laboratorio > force group =3D laboratorio > read only =3D No It looks to me like you have multiple smb.conf files and you're editing=20 the one the system is not using. Your last testparm still shows=20 a "force group" parameter but there is none listed in your share=20 definition. Also "available" is on by default, one less parameter you=20 can drop to make it all more readable. =2D-=20 Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba |