I used this code on an app:
chmod 600 /Applications/Freedom.app ; chown 'whoami':staff /Applications/Freedom.app
Does anyone know how to undo this?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
To undo the chmod use :
sudo chown -R alexandertollman:alexandertollman /Applications/Freedom.app
To set back to permission level 755 use :
sudo chmod -R 755 /Applications/Freedom.app
whoami only prints the username associated with the current effective user ID.