[Samba] Access Denied error when attempting to save Excel spreadsheet files with Microsoft Office

Itamar Gal itamarggal at gmail.com
Tue Sep 15 18:51:00 UTC 2015

Hey Samba folks,

I have a server running Samba Version 3.6.3 on Ubuntu 12.04.4 LTS. Some
users are receiving the following error message when trying to save changes
to an Excel spreadsheet file (mounted from a Samba network share) using
Microsoft Office on Windows:

Access Denied. Contact your Administrator.

Apparently they are able to open the file without any issues and I am able
to modify the file using LibreOffice.

Here is the smb.conf entry for the share hosting the file under discussion:

  comment = shared files for groupX
  browseable = yes
  writeable = yes
  path = /export/groups/groupX
  guest ok = no
  create mask = 0664
  directory mask = 2775
  inherit owner = yes
  inherit permissions = yes
  directory mask = 2775
  force directory mode = 2775
  directory security mask = 2775
  force directory security mode = 2775
  force group = +groupX

Any help would be greatly appreciated.


More information about the samba mailing list