If you have migrated from Windows PC to macOS and getting sharing Violation on Mac with Office, this post will help you. Some of the users are getting an error when using a document that was on Windows. Here is the list of steps followed:
- Migrated .docx, xlsx, and pptx files from a Windows PC to a Mac using the Migration Assistant.
- Files are transferred to the Users\Shared folder on the Mac.
- Installed MS Office 2019 on the Mac.
- Attempted to open several documents on the Mac using Office, made changes, and tried to save (this was attempted with docx, xlsx, and pptx, and all yielded identical outcomes). The following warnings are displayed:
1) Your changes could not be saved to ‘filename.xlsx’ because of a sharing violation. Try saving it to a different file.
2) Sorry, we couldn’t find
Is it possible it was moved, renamed, or deleted?
3) Your changes could not be saved to ‘filename.xlsx’, but were saved to a temporary document named ‘DF812000.MACTF’. Close the existing document, open the temporary document, and save it under a new name.
While one can, if someone does not want to save it as a new file, this will be an issue.
How to Fix Sharing Violation on Mac with Office
It’s a simple problem because of permission issues and privacy restrictions on macOS. If you are an Admin user, you should be able to change it quickly.
- Give MS Office Full Disk Access
- Move Files to User Folder
Make sure to back up files before following this suggestion.
Give MS Office Full Disk Access on macOS
If I moved the file from the Shared folder to my user folder, I could update a docx, xlsx, and pptx with no sharing violation.
- Open macOS System Preferences from the top-left Apple menu
- Find and select the Security & Privacy symbol.
- In the Security & Privacy interface, steer to the Privacy section.
- On the left-hand panel, scroll to and choose Full Disk Access.
- At the bottom left of the interface, hit the lock symbol and type your administrator password to modify settings.
- To include MS Office programs, hit the + (plus) sign.
- Using the file explorer, steer to the Applications folder, choose the Microsoft Office application you want to provide Full Disk Access (like Microsoft Word, Excel, PowerPoint), and hit Open.
- Replicate the previous step for every MS Office application you wish to give Full Disk Access.
- Close the Security & Privacy interface.
Move Files to User Folder
I updated a file under the Shared folder with no sharing violation after adding each MS Office application to Full Disk Access. I modified the file/folder Sharing & Permissions to include Read & Write permissions for the admin.
- Find the file or folder in the Shared directory whose Sharing & Permissions you wish to alter.
- Right-click (or Ctrl-click) the file or folder, and choose Get Info from the context menu.
- The Sharing & Permissions section is at the bottom of the Get Info window.
- If the padlock symbol at the lower right corner is locked, hit it and input your administrator password to unlock it.
- To include the admin with Read & Write permissions, hit the + (plus) sign.
- In the search box, input the admin’s username or choose it from the list shown.
- Choose the admin’s username from the list and hit the Select button.
- In the Privilege column beside the admin’s username, choose Read & Write from the dropdown list.
- Close the Get Info window.
The above situation occurred because of Sharing Violation on Mac with Office. Unless the application has full permission, it cannot write into the disk. The files can be easily saved once you have permitted the app or the folder.