Solving Office files saving issues

If you encounter problems saving office files on Samba shares, it’s likely due to Oplock. Oplock is a feature increasingly used by software developers as it allows much faster saving than normal.

It seems that this problem occurs from version 3.0.6 of Samba.

To avoid these issues, you need to disable this feature. Here’s what you need to insert in the Samba configuration file in the “Global” section:

1
2
#       Resolve office save problems
        oplocks = no

Restart Samba afterwards.

If this solution still doesn’t work for you, then it might be because of “veto files”. Disable temporary files at the share level:

1
#       veto files = /*.tmp*/*.TMP*/

Be careful with .DSStore file blocking on Mac which can crash network shares since version 10.6 of Mac OS.

Last updated 21 Sep 2010, 21:47 CEST. history