- Plesk for Linux
Unable to remove files under Plesk > Domains > example.com > Files , the following error is shown:
PLESK_ERROR: Unable to remove /httpdocs/wp-includes: filemng failed: filemng: Error occurred during /bin/rm command.
Invalid Linux file-system permissions or ownership set on
/var/www/vhosts/example.com/httpdocs/ directory and its contents.
Find system user of subscription using the command below:
ls -l /var/www/vhosts/example.com/ | grep logs
drwx------. 2 subscription_system_user root 138 Nov 14 17:58 logs
Assign the correct Linux file-system ownership and permissions on the directory
/var/www/vhosts/example.com/httpdocs/and its contents using command line commands:
# chown -R subscription_system_user:psacln /var/www/vhosts/example.com/httpdocs
# chmod -R 755 /var/www/vhosts/example.com/httpdocs
# plesk repair fs example.com
replace subscription_system_user with actual Plesk name of system user found on step #2.