chmod 777To apply chmod 777 recursively to a folder and all its contents, you can use the -Rchmod 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