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?
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?
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
The whoami
only prints the username associated with the current effective user ID.