I have samba running on Debian with two shares, a read-only one and a read/write one:
[LP-ReadOnly]
comment = LP-ReadOnly
path = /media/USBHDD1
writeable = No
create mask = 0775
directory mask = 0775
browseable = Yes
valid users = @users
[LP-Writeable]
comment = LP-Writeable
path = /media/USBHDD1
writeable = Yes
create mask = 0775
directory mask = 0775
browseable = Yes
valid users = david
force group = users
I can access both folders with the user "david" on a Mac, but I can only access the read only folder on a Windows client. The user "david" is a member of the group "users".
If I set valid users = @users
on the writeable share, it works, but I only want to grant write permissions to the user "david".
Also, the server is not shown under "network" on Windows. I have to access it typing \\<local ip>
. The workgroup name is the same on smb.conf and on the Windows machine.
I have no idea why it works well on Mac OS X and it doesn't work on the Windows client...