-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?

1
  • so i go and log into my root account on my mac. i did look up what the 600 means, but does that help me with what previously was the permissions? or can i just set it to chmod 777(which means everyone has all permissions)as far as i know? Commented Nov 16, 2017 at 2:44

1 Answer 1

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.

11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .