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 hackerStart by setting permission numbers to 777 to grant files more access, then use the chmod command to modify specific permissions for each folder in var.