To change permission of folders and files under the public_html of a domain at once we can use the following script.
find ./ -type d -exec chmod 755 {} \;
find ./ -type f -exec chmod 644 {} \;
Some Quick Fixes and Resolutions by Linux Enthusiast
To change permission of folders and files under the public_html of a domain at once we can use the following script.
find ./ -type d -exec chmod 755 {} \;
find ./ -type f -exec chmod 644 {} \;