[Samba] Write permissions denied only when connecting via mount -t cifs

Howard Cole howardnews at selestial.com
Thu Mar 24 17:38:47 MDT 2011


Hello all,

I am having an issue connecting to a samba 3 share hosted on one ubuntu 
server to a  ubuntu client using the mount command.

I can happily mount the share, however It only mounts read only.

If I connect to the share using the smbclient utility - I can write.

Here is the 3.4 share config, straight from the ubuntu manual:

[global]
workgroup=WORKGROUP
security=user

[w]
         path = /data/w
         browsable = yes
         guest ok = yes
         read only = no
         create mask = 0755
         writable = yes

ls -l /data gives

drwxr-xr-x nobody nogroup w

I can connect from the client using:

smbclient //192.168.168.5/w -o guest   (this one works fine - i can 
create files/directories)

mount -t cifs //192.168.168.5/w /media/w -o guest,rw    (read only?)

Can anyone tell me how to mount in Read/Write mode?

Thanks.


More information about the samba mailing list