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

  • 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? – TheBelgianWaffl _ Gaming Nov 16 '17 at 2:44
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.