The Samba-Bugzilla – Bug 3333
Uncorrect smb.conf in a subsection of Samba-3 HOWTO
Last modified: 2005-12-20 06:52:10 UTC
In Section I.2 under Worked Examples the subsection on Secure Read-Write File and Print Server has uncorrect permissions for the public share. According to the paragraph above the public drive should allow authenticated users only to store files, but:
comment = Data
path = /export
force user = maryo
force group = users
guest ok = Yes
read only = No
allows anyone (i.e., guest) to write/delete files too.
I'm a newbie, so I don't know how to set this up correctly, such that guest only has read, and authenticated users have read/write. But for now I have remedied this example setup by adding 'valid users = bla, blue, ble' such that only they have access to the share at _all_.
Please address this in the docs so as not to mislead any other newbies like me... ;), and if You could suggest a way to have a share with read only for guest, and all access for valid users.
Passing to jht since this is docs related.
That was a booboo. Sorry.
I removed the "guest ok" parameter.
- John T.
Second part of my bug report was a quick question ;) :
How do we setup a secure share that has _read_ _only_ for the guest?
(In reply to comment #2)
> That was a booboo. Sorry.
> I removed the "guest ok" parameter.
> - John T.