Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MS Office documents opening as read-only on AFP share

With Mac OS X 10.6.6 and 10.6.5 I'm having a problem with MS Office documents opening as read-only from AFP shares. This seems to be a problem with Office 2008 and 2011.

If you create a new document in as Word and save it to an AFP share. Then quit Word and reopen the document, the document is marked as Read Only. It's not marked as Locked in the Finder. Quitting the app and opening the document again has the same problem.

If you unmount and remount the AFP the problem goes away. The problem also goes away after about 30 minutes.

Any idea what's going on?

Posted on Jan 13, 2011 9:02 PM

Reply
43 replies

Apr 19, 2016 9:58 PM in response to Martin Mitchell

mv /Volumes/Macintosh \HD/System/Library/QuickLook/Office.qlgenerator /Volumes/Macintosh \HD/System/Library/QuickLook/Office.qlgenerator.bak


should be the correct command. You are basically renaming the file.


mv: rename /Volumes/Macintosh to HD/System/Library/QuickLook/Office.qlgenerator /System/Library/QuickLook/Office.qlgenerator.bak

is wrong. Hope it helps.

Apr 19, 2016 11:26 PM in response to duminda

You're right Duminda.

The "rename" command isn't necessary as done by "mv".

Also, you can input 'Macintosh HD' instead of Macintosh \HD : it does the same...


The "mv" command should locate the file with the complete path unless you already moved to the correct folder (System).

And you have to locate it twice : first to locate the file you want to rename and second to tell the system where to rename it.


This has solved the issue for all of our workstations / laptops connected to the AFP server (xServe).

No need to enter these commands on the server itself.

But you'll need to re-enter it on the client mac each time you'll upgrade to a new version of Mac OS...


Good luck

Apr 20, 2016 1:24 AM in response to Starwalker

I contacted another consultant remotely who is better in the Terminal than I, and we tried the above methods.

We were unsuccessful as he had the same errors.

However, here's what DID work on users on 10.11/ El Capitan. We just eliminated the Office.qlgenerator


1. Reboot the client workstation on recovery mode

2. Access Terminal from the recovery screen

3. Enter the following :

csrutil disable

4. Restart the Mac after the verification message.

5. Log in as usual.

6. Navigate to System/Library/QuickLook/

7. Select Office.qlgenerator > Command-Delete to the trash

8. Reboot the client workstation in recovery mode

Enter the following :

csrutil enable

9. Restart the Mac after the verification to enable protection


The doesn't seem to work on Yosemite 10.10 Macs.


Hope this helps and thanks to all.

Apr 20, 2016 5:01 AM in response to Martin Mitchell

Well, I never said you can't eliminate the file but this a bit radical for a system file...

Once you are on the Recovery environment and using Terminal (which was my instruction), there is no need to come back to ElCapitan prior to rename / delete the file : this can de bone from the recovery mode.

The restriction on QuickLook file (Office.qlgenerator) came with ElCapitan so I am not surprised this doesn't work on Yosemite (at least the need to use csrutil disable). But you shouldn't have the issue with AFP shared folders on Yosemite. If so, there might be another issue than QuickLook. Nevertheless, you do not need to use the csrutil command under Yosemite as the file isn't restricted as it is under ElCapitan.

Our config :

- Server xServe running Mac OS 10.11.4 (ElCapitan)

Supports :

  • File sharing (AFP only, no SMB except for the network printer and the virtual machine)
  • Mail
  • iCal
  • Web
  • Time Machine (with Raid sonnet card R580 : by the way, this one works fine under ElCapitan assuming you bypass again the drivers not being approved by Apple)
  • DHCP
  • DNS
  • FTP
  • Open directory
  • VmWare for a Windows server 2008 VM

- Workstations : macbook pro (from 2009 till 2015), iMac (from 2009 till 2015), all running 10.11.4

Apps :

  • Office 2011
  • TSE through Cord
  • Mail, iCal, Contacts : no foreign apps for these... just standard.


As you all may very well know, any other setup may affect both the symptoms and the cure...

MS Office documents opening as read-only on AFP share

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.