chmod 777chmod 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 to777 means the file directory is granted read, write and execute permissions for all three user classes, including the owner, group members, and others.