- Plesk for Linux
- Default content of the domain/subscription document root directory is restored each time after clicking Apply in Home > subscriptions > example.com > Hosting settings.
- Ownership for the directories
/var/www/vhosts/example.com/httpdocs/webare as follows:
# ls -ld /var/www/vhosts/example.com/httpdocs
drwxrwx--- 5 user psacln 4096 Jul 25 2017 /var/www/vhosts/example.com/httpdocs
# ls -ld /var/www/vhosts/example.com/httpdocs/web
drwxrwxr-x 9 user psacln 4096 Feb 15 17:27 /var/www/vhosts/example.com/httpdocs/web
Incorrect ownership set for website's document root directory and its contents.
1. Connect to the server via SSH.
2. Set up correct ownership, for example:
# chown user.psaserv /var/www/vhosts/example.com/httpdocs/
# chown user.psaserv /var/www/vhosts/example.com/httpdocs/web/