Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
-
Unable to move a domain to another subscription at Subscriptions > example.com > click Move domain, the process fails with the following error:
PLESK_ERROR: site-copy failed: tar: ./subdirectory/<path>: Cannot open: Permission denied
Cause
The subfolder(s) of the affected domain has incorrect ownership.
Resolution
-
Log into the server via SSH.
- Execute the command below to find the system user for the affected domain:
# plesk db "select * from sys_users;" | grep example.com | awk {' print $6'}
johndoe -
Run the command below to set the correct ownership with the correct system user and group for the subdirectory from the error:
# chown -R johndoe:psacln /var/www/vhosts/example.com/subdirectory
Note: Apply the same command for each subdirectory in case there is more than one.
Comments
0 comments
Please sign in to leave a comment.