Saving Mac Office file to Windows Network Share
Posted on 2011-10-05
Our students have accounts in AD and they have a home folder assigned. When they log on to the Macbook systems their home folder show on the menu bar. When opening Word 2011 and creating a document they can save and it saves to their document folder on the server. However, it they make changes to the document and attempt to save they get the message that "Word cannot save this document due to naming error... (or something along that line, I am not in front of my system), a temporary file is saved instead. If they do a save as and give an incremental number then all is well but files accumulate. I found the following and tried it, but to no avail.
Saving Word Documents (New or Existing)
The new version of Word has a problem when saving documents to network folders. Users with network home directories have a problem with Save or Autosave from Word 2004 11.2 (Office Service Pack 2) on OSX 10.4.2, and see an error message saying "Word cannot save this document due to a naming or permissions error on the destination volume." The first attempt to save succeeds; subsequent attempts to save, or autosave, will fail with the above error message.
The fault occurs unless a folder called .TemporaryItems has been created at the root level of any mounted volume containing the saved file; so if the user's home directory is contained in an AFP share called "Homes", there has to be a directory called .TemporaryItems in the Homes folder on the server. If the home directory is on another local volume called UserData, there has to be a directory called .TemporaryItems at the root of that volume.
Since .TemporaryItems is a dot file, it will not be visible in the Finder. When the application is able to create this .TemporaryItems directory, it is world writable and sticky. For improved security, as long as all users are in a common group like "staff", then the folder can be restricted to writing by the group instead.
sudo mkdir .TemporaryItems
chgrp staff .TemporaryItems
chmod 1770 .TemporaryItems
This seems to fix the problem, not just for Word, but for Powerpoint and other Office apps.
In hindsight I may not have put the .TemporaryItems in the right location, I also did not run the chmod 1770 .TemporaryItems as I felt this pertained to the group command above. Though the issue had to deal with Word 2004, it was the closes I could get to my issue. Has anyone experienced this, if so, am I on the right track?