[Samba] Precedence of access parameters

Gerald (Jerry) Carter jerry at samba.org
Fri Jul 7 11:42:31 GMT 2006


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

Alan Gibson wrote:

> for instance, will the following allow user2 to write to [share]?
> 
> [share]
> read only = yes
> valid users = user1 user2
> read list = user1
> write list = user2
> 
> thanks in advance for any info...

Yes.  user2 will have write access.  Think of 'read list'
and 'write list' as exceptions to the value of read only.
In your example, the 'read list' parameter is unnecessary
since everyone not in the 'write list' will get 'read only = yes'





cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFErkinIR7qMdg1EfYRAhfQAJ0d3lghDAZOn5Je13S7j7P/vsZQwgCgkwNb
c39VJodX9IsvuugtQLkQnVM=
=vwId
-----END PGP SIGNATURE-----


More information about the samba mailing list