Forum Home
Press F1
 
Thread ID: 86303 2008-01-11 21:39:00 No write access to samba share somebody (208) Press F1
Post ID Timestamp Content User
629505 2008-01-11 21:39:00 I've mounted a windows share on a machine running Debian, and can read the files fine. However, as I have mounted as root using sudo, "normal" users do not seem to have write permissions to the share. I've tried changing the permissions on the "folder", however htat hasn't helped.

I'm sure I'm missing a simple point here, so has anyone got any bright ideas?
somebody (208)
629506 2008-01-12 03:53:00 Is the share definition writeable in the smb.conf file (or not set to readonly)?

e.g. writeable = yes

read only = no
gibler (49)
629507 2008-01-12 03:58:00 The shared folder is on a Windows box with write permissions set. somebody (208)
629508 2008-01-12 05:17:00 writeable = yes

or

write list = <user name>

Does the share also get mounted auto by fstab?
You may have to make permissions in there rw

Similar to this:

//user/my\040documents /mnt/usershare smbfs ,owner,rw,password=whatever 0 0
Myth (110)
629509 2008-01-12 19:28:00 Where abouts in smb.conf do I put "writable=yes"? somebody (208)
629510 2008-01-12 19:41:00 From /etc/samba/smb.conf.example:

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
Myth (110)
629511 2008-01-12 19:51:00 From /etc/samba/smb.conf.example:

The shared folder is on a Windows box though. I'm just trying to access it using samba from a Linux machine.
somebody (208)
629512 2008-01-12 19:53:00 How are you mounting the share? via fstab on startup, or manually? Myth (110)
629513 2008-01-12 20:04:00 How are you mounting the share? via fstab on startup, or manually?

Manually.
somebody (208)
629514 2008-01-12 20:14:00 Manually.With what options/switches? Myth (110)
1 2