• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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