PDA

View Full Version : [ubuntu] Can't write to Samba Shares



xtropx
March 27th, 2012, 05:49 AM
[test]
writeable = yes
path = /opt/share
force user = user1
valid users = user1
public = yes
create mode = 0775
directory mode = 0775

Should probably note that I am using webmin, but I am almost ready to uninstall it because I've ended up working through ssh more anyway.

Error:

http://imgur.com/1XRgShttp://i.imgur.com/1XRgS.jpg
http://imgur.com/1XRgS

FreeD01
March 27th, 2012, 08:58 AM
Have you checked permissions on share folder? If you want to write from network (win machine for example) than you need to allow nobody:nogroup. Works for me but consider security issues.

Morbius1
March 27th, 2012, 01:04 PM
Does the local server user, user1, have permissions to access /opt/share on the server itself?

Have you added the local server user, user1, to the samba password database:

sudo smbpasswd -a user1