Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

permissions

if Apache

sudo chown -R www-data:www-data /var/www/html/agesalternities.org/
sudo find /var/www/html/agesalternities.org/ -type d -exec chmod 750 {} \;
sudo find /var/www/html/agesalternities.org/ -type f -exec chmod 644 {} \;

if Synology

sudo chown -R http:http /var/services/web/yoursiteonly/
sudo find /var/services/web/ -type d -exec chmod 750 {} \;
sudo find /var/services/web/ -type f -exec chmod 644 {} \;