I'm trying to set up a Samba share that is only accessible by a particular user. I'd like that user to have read/write access to all files in the share.
The smb.conf file below will let me access the share through the one user 'patrick' but I can't get write access to work - I cannot modify or delete files on the mounted share via windows. The user does have the proper permissions set for the directory per below.
How can I enable read/write access? I do not want to change the directory/file permissions to 0777 like many of the other forum posts would suggest.
drwxr-xr-x 6 patrick patrick 4096 Jul 3 2015 ./ drwxr-xr-x 3 root root 4096 Jul 1 2015 ../ drwxrwxr-x+ 15 patrick patrick 65536 Jan 22 00:01 music/
The smb.conf file:
[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) # wins support = no dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d server role = standalone server passdb backend = tdbsam obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = never usershare allow guests = no [Music] comment = Music on Ceres path = /mnt/largemarge/music valid users = patrick browseable = yes guest ok = no read only = no create mask = 0775 directory mask = 0755 force user = patrick