-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
  • 40,472
  • 44
  • 86
  • 127
  • 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 02:44

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
  • 1
  • 13