server - Reset default permissions for /var/www - Ask Ubuntu

PHOTO EMBED

Thu May 14 2020 17:25:49 GMT+0000 (UTC)

Saved by @salitha.pathi #commandline

sudo find /var/www/ -type d -exec chmod 755 {} \;
sudo find /var/www/ -type f -exec chmod 644 {} \;
content_copyCOPY

https://askubuntu.com/questions/722088/reset-default-permissions-for-var-www