• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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