OK, I'm stumped. I've don'e lots of samba mounts in the past, but I can't figure this one out. I have a new Samba 4.1.11 on a new Slackware64 14.1. My smb.conf is shown below. I'm mapping from a Windows 7 computer with user ID cantleys. I can mount homes OK (no password requested) and read and write to that directory. I can also mount webcontent (no password required), and can read, but not write. I get the error (on Windows) "W:\test.txt You don't have permission to save in this location. Contact the administrator to obtain permission.
This all worked with samba 3.5.8. I can't figure out what's wrong. smb.conf:
[global] workgroup = WORKGROUP server string = Cantleys Samba Server security = user load printers = no printcap name = /dev/null printing = bsddisable spoolss = yesguest account = guest log file = /var/log/samba.%m max log size = 50 dns proxy = no[homes] comment = Home Directories browseable = no writable = yes create mask = 0660[webcontent]hosts allow = 192.168.2.path = /www/tomcat/webapps/cantleys/contentwritable = yesbrowsable = yesprintable = nopublic = yesguest ok = yesguest only = yescreate mask = 0660
You have to check whether the path to the location is allowed access
Check whether SELinux is also what prevents the writes into this location.
What are the security (chmod) on the directory?