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

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

Instructor-svgAl-Mamun Sarkar
Apr 14 , 2020

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 {} \;

 

  • Share On:
  • fb
  • twitter
  • pinterest
  • instagram