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 hackerchmod 777 foldername will give read, write, and execute permissions for everyone. chmod 700 foldername will give read, write, and execute