Bluehost.com Web Hosting $6.95

Re: [Samba] write list vs read list

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 =...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-14-2008
Chris Smith
 
Posts: n/a
Default Re: [Samba] write list vs read list

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0