chmod 777The reason 777 is bad is because other gives permissions to anyone who has access to your computer: for example, if you're hacked, the hackerYou can type chmod 777, leave a space after it, and then drag the file or folder from Finder into Terminal. Terminal will fill in the correct path for you.