• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

File Manager Error

B

ByteBistro

Guest
Hey,

When I try to edit a .html file (any file in this case) in File Manager, I get the following error:

Error: Unable to edit file /httpdocs/index.html: filemng failed: cp: cannot create regular file `/var/www/vhosts/domain.com/httpdocs/index.html': Permission denied
filemng: Error occured during /bin/cp command.

Can somebody walk me through how to fix this?

Thanks,
Michael
 
Hello Michael,

It looks like there is a permissions issue here. Please. use utility "vhostmng" to reset permissions. Here is the command:

# /usr/local/psa/admin/sbin/vhostmng --install-vhost --vhost-name=<domain name> --user-name=<username> --set-content-permissions

Where <domain name> is domain where to restore permissions and <username> is domain's FTP user that is configured in Parallels Plesk Panel on page

Domains -> <domain name> -> Web Hosting Settings (version 9.x) or Domains -> <domain name> -> Setup (version 8.x).

The command will restore default permissions under virtual host directory.

Please, see the following article for more information:

http://kb.odin.com/en/6572

Thank you
 
Back
Top