Microsoft Office on Mojave unusable due to sandbox errors
We have 2 Macs running Mojave and on both of them working with MS Office is quite a pain. Seemingly randomly the macOS sandbox decides we cannot access Excel/Word/PowerPoint files. The error shown to end-users is "You do not have permission to save files to this location" and the error as listed in the Console is:
Sandbox: Microsoft PowerP(601) deny(1) file-read-xattr /Volumes/myshare/foo.pptx
In some cases it temporarily works to enable Full Disk Access for the problematic Office application, but in the end the issue will always come back; after a while a completely different file will be uneditable. After a full system reboot it's also possible to edit the exact same file, but again only temporarily.
This occurs for files stored locally as well as those on a network share (AFP). I tried clearing the com.apple.quarantine attributes but that doesn't seem to work reliably either.
I've read a ton of other forums and they mentioned some possible fixes, such as rebuilding font databases and whatnot. None of this works either. The Office applications are fully updated and both Macs are running 10.14.5. I know 10.14.6 is out but the release notes don't indicate anything remotely related to this issue, so I very much doubt it was fixed in that.