I am trying to set user-specific access to certain apps and folders on a mac, and I found this answer to be extremely helpful. (Thanks @Gordon Davisson!)
However, I can't seem to run the chmod
commands on applications inside the /System/Applications
folders, even when I use sudo
:
sudo chmod +a \
"user:some_user deny list,search,readattr,readextattr,readsecurity" \
/System/Applications/Mail.app
chmod: Failed to set ACL on file '/System/Applications/Mail.app': Operation not permitted
Is there a workaround?
Update
At the moment I would be happy to even have a specific solution that...
- Worked on Catalina, even if it doesn't work on more recent versions
- Only works to add and remove custom-deny rules access (i.e. restrict permissions) rather than extending additional permissions