Is it possible to have a samba share read only for guests, and read write for authenticated users?
If I put guest ok on an share then I am not prompted for a password, and effectively logged as guest with read only rights. But I want to be authenticated so that I can also write.
Could anyone provide a sample smb share stanza to achieve this?
Best Answer
Edit
/etc/samba/smb.conf
Add in the
write list
paramter to your share definition, add in your list of users allowed write access.You can use
read list
as wellSo ...
If you need finer grain of control, you can use acl (access control lists) on the server.