Description
I am struggling with a rather old (well-known) issue using the latest samba 4 suite. The MS Office 2010 products refuse to save a new (or modified) file on the samba share and display a message of the form:
"There was an error accessing the file \sambashare\smbtest\testfile.pptx".
This particular issue persists only with MS Office 2010 files (docx, pptx, xlsx). Opening and reading the files works just fine, but when it comes to modifying or saving a new file, it doesn't work. Please note that ALL the other file types, including older MS Office products (eg. MS Office 2003) work just fine.
Environment
OS (server): CentOS release 6.2 (Final) -- OS (client): Windows 7 -- Samba version: samba-4.1.11
Other similar cases:
a) Samba Share - MS Excel when saving "can't access the file, there are several possible reasons"
b) https://lists.samba.org/archive/samba/2011-December/165327.html
I have read lots of "resolved" cases with such kind of error but they all use older samba versions (3.*). The solutions provided to these cases don't work for the new samba version as some of the parameters were deprecated. I was hoping that this issue would have been resolved in samba 4 but it actually did not.
Configuration
Also I performed a series of tests by changing the smb.conf file. Here is what I currently have at the moment.
[smbtest]
comment = samba test workspace
path = /sambashare/smbtest
valid users = @g-staff
force group = g-staff
browseable = yes
writeable = yes
read only = no
guest ok = no
directory mask = 2770
force directory mode = 2770
create mask = 2775
force create mode = 2775
Your help would be greatly appreciated. Thanks!