Most often we need to change file permissions to 644. Here is a code that changes all files to 644 under current directory. find . -type f -exec chmod 644 {} \; To change all folders to 755 you can use this code. find . -type d -exec chmod 755 {} \;The post Change all file permissions to 644 using SSH appeared first on Zia Web Solution.