• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Question Domain Log Files Owner and Permissions are probably incorrect

milanbx

New Pleskian
Server operating system version
Debian 12.12
Plesk version and microupdate number
Plesk Obsidian 18.0.74 Update #3, last updated on Dec 9, 2025 06:27 AM
Hi,
my `nginx` and other log files report errors like this:
`Unable to open log file: fopen(/var/www/vhosts/system/vetkom.cz/logs/proxy_error_log): Failed to open stream: Permission denied`
What should be the right owner and permitions?
Currently I have permission 660 and owner is my domain admin account, group is psacln.
Plesk Diagnose & Repaire did not find anything wrong.
Not even sudo plesk repair fs vetkom.cz -v has found anything.
Thanks.
 
What should be the right owner and permitions?
Log files (in the logs directory) should be owned by root and part of the root group, with permission 644.

Not even sudo plesk repair fs vetkom.cz -v has found anything.
Not sure why the repair utility didn't fixed that for you. Thy to change ownership and permissions manually:

Code:
cd /var/www/vhosts/system/vetkom.cz/logs
find . -type f -exec chmod 644 {} \;
chown -R root:root .
 
I have found a support article saying this:
Bash:
chown psaadm:root /var/www/vhosts/system/example.com/logs/
chmod 700 /var/www/vhosts/system/example.com/logs/
see it here: Unable to access logs and files for a domain: System error 13: Permission denied
Which is the right one now?
Thnx

The permission and ownership mentioned in the support article you linked to only apply to the logs directory itself. For any log files inside of that directory the permission and ownership I mentioned in my previous post apply.
 
Back
Top