[Samba] Mac OS X / MS Office save issues and possible .TemporaryItems fix

Nathan A Friedl nate at northwestern.edu
Sat Oct 15 09:53:35 MDT 2011


We have an issue where Macs that try to save MS Office files on our 3.5.11 samba servers occasionally get error messages such as "There has been a network or file permission error.  The network connection may be lost.”  When this happens, the user often has to save the file to their local drive and then copy it over to the network share.

After doing some research, we suspect the issue may be related to the .TemporaryItems folder that MS Office creates on any drive that it opens a file on (described here: http://prowiki.isc.upenn.edu/wiki/MS_Office_and_Network_Volumes ).  MS Office apparently continually modifies the permissions on this folder and can occasionally prevent a user from opening a file due to wonky permissions.  Yesterday we created a .TemporaryItems folder for every share and set the default acl to be rwx for all, as there's no way that Office should be able to change that.  We're hoping that will solve the problem, but we've been unable to replicate these problems ourselves so we're just waiting to see if the errors appear again.

Are we on the right track here, or do you suspect something else may be going on?  Do you have any suggestions for other things to try?

Additionally, we've been having a hard time determining a good logging level.  When we up the logging, the Macs can rotate the logs quite quickly as they "touch" every file in a folder whenever the folder is opened.  What would your suggestion be for a proper logging level to monitor these issues?

Thanks for your time,

Nathan Friedl
nate at northwestern.edu



More information about the samba mailing list