Answers for "drupal file permissions"

-2

drupal file permissions

cd /var/www/html/drupal9
sudo chown -R my-user:apache .
sudo find . -type d -exec chmod 750 '{}' \;
sudo find . -type f -exec chmod 640 '{}' \;
cd web/sites
sudo find . -type d -name files -exec chmod 770 '{}' \;
for d in ./*/files
do
   sudo find $d -type d -exec chmod 770 '{}' \;
   sudo find $d -type f -exec chmod 660 '{}' \;
done
Posted by: Guest on April-28-2021

Code answers related to "drupal file permissions"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language