Changing Web Server Files and Folders Permission 644 for files and 755 for folders

Author: Al-mamun Sarkar Date: 2020-04-14 08:09:50

Uploading HTML files Images and File permission. Upload all HTML, CSS, Images to /var/www/artofcse.com directory. After uploading all files and folders. All files need 644 permissions and all folders need 755 permission. 

 

Change files permission:

find /var/www/artofcse.com/ -type f -exec chmod 644 {} \;

 

Change folders permission:

find /var/www/artofcse.com/ -type d -exec chmod 755 {} \;