Due to incompatibility of root account and sandbox, I need to manually disable sandboxing of MS Office applications (so that it can be activated) by changing the value of
com.apple.security.app-sandbox within the application binary (
/Applications/Microsoft Word.app/Contents/MacOS/Microsoft Word) from
However, this change would lead the addition of a byte, and I can't find any documentation on how to insert a byte. I'm using
hexedit, installed with brew (
brew install hexedit).
Also, if someone can provide a script to automatically detect and edit that flag, that will be great. Here is an excerpt: