Skip to main content

Posts

Showing posts from February, 2017

Druapl 8 Folder and File Permissions

Drupal direcories: find /var/www/html -type d -exec chmod 755 {} \; Drupal files: find /var/www/html -type f -exec chmod 644 {} \; Drupal all content related directories: find /var/www/html/your_site_name/ sites/b2b_cms_mi/files -type d -exec chmod 775 {} \; Drupal all content related files: find /var/www/html/your_project_folder/ sites/default/files -type f -exec chmod 664 {} \; Drupal content folder permission: chmod 777 /var/www/html/your_project_folder/ sites/default/files .htaccess permission cd /var/www/html/your_project_folder/ sites/default/files/config_ fdwgNYChzdnUSBU8hEm-QEe3_ SXdb6kzCJ3ffEC4sB7njFXuK06hHUF OJE888-GN0_gpEE1b0w/sync chmod 777 .htaccess cd /var/www/html/your_project_folder/ sites/default/files/ chmod 777 .htaccess Note:-  your_project_folder is the name of the project. default can be a site folder name, if the application is multisite or else it will be a default folder.