Cause
Cannot install application for the domain via Plesk (ex. Drupal):
Installation of Drupal at http://example.com/ failed. Unable to change mode for /var/www/vhosts/example.com/example-sub.com/core/assets/vendor/ckeditor/plugins/a11yhelp: Operation not permitted
Cause
Insufficient permissions/ownership inside domain’s directory.
Resolution
Note: if you don’t have root access to Plesk server via SSH, contact your hosting provider regarding the issue
Set default permissions as follows:
-
Login to Plesk > Subscriptions > example.com and determine system user for the subscription:
-
Connect to the server using SSH.
-
Run the following commands:
Note: Substitute “johndoe” with the system user name from step #1
# find /var/www/vhosts/example.com/httpdocs/ -type f -exec chown johndoe:psacln {} ;
# find /var/www/vhosts/example.com/httpdocs/ -type d -exec chown johndoe:psacln {} ;
Â