-1

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?

music2myear
  • 49,799

1 Answers1

0

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.

Vedant
  • 226