chmod 777You almost never need 777 permissions on any type of file, and you absolutely never need 777 on a non-executable file. – skiphoppy Commented Apr 4, 2012 at 10:51chmod 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