error logs not accessible to user
Posted: Tue Oct 17, 2017 11:34 am
When i am logged in as user, the error logs in ~/web/domain.tld/logs is not accessible. How the user is supposed to see his error log. I am specifically interested in 500 errors that cannot be seen elsewhere (correct me if i am wrong).
When logged as root there are to symlinks that point to /var/log/apache2/domains
Code: Select all
demo@prom01:~/web/domain.tld$ ls logs/*
ls: cannot access logs/domain.tld.error.log: Permission denied
ls: cannot access logs/domain.tld.log: Permission denied