• 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

Inaccessible error_docs in subdomains

RihadG

Basic Pleskian
Somehow after migration from 10.x server, error_docs in subdomains have the following permissions:

These are good permissions of domain itself:
$ ls -ld /var/www/vhosts/example.az/error_docs
drwxr-xr-x 2 root psaserv 4096 Aug 1 17:42 error_docs

These are inaccessible permissions of a subdomain:
$ ls -ld /var/www/vhosts/example.az/subdomains/sub1/error_docs/
drwxr-x--- 2 root psaserv 4096 Jan 15 2008 /var/www/vhosts/example.az/subdomains/sub1/error_docs/


Why is that and how should I fix that (and why)?
Thanks!
 
Those are permissions for those folders. At-least that is the case with all my servers here ...
 
It really does not cause any harm changing those folder permissions to:

chown -R system_name : psaserv

Then they can edit there error logs
 
Thanks, I did that first thing, just wondering why it's that way. So I guess error_pages will it be uneditable for future domains, requiring manual fixups?
 
I guess plesk left it for security reasons to have it by default disabled and enabled on user requests. Ie its the same with the conf/ folder where it were important for users to add extra settings in vhost.conf but until you change permissions to allow them, it's not possible by default user permissions.
 
Back
Top