chmod 777chmod 777 makes a filefolder readable, write-able and executable by everyone. So essentially on your site folder, you have given everyone permission to write to that folder, so you havechmod 777 -R .* ..[!.]* Bash has this command. shopt -s dotglob to also include hidden files in commands (shopt -u dotglob to disable that behaviour) if you want to stick to