Applicable to:
- Plesk for Linux
Symptoms
There is the following error when accessing a file using a browser:
Error 403 Forbidden
The following error can be obtained in website logs /var/www/vhosts/system/example.com/logs/error.log
:
(13)Permission denied: file permissions deny server access
The file has the following permissions configured:
# ls -la /var/www/vhosts/example.com/httpdocs/upload/file_uploaded.txt
-rw-------. 1 exampleftp psacln 28K ago 3 13:28 /var/www/vhosts/example.com/httpdocs/upload/file_uploaded.txt
Cause
The file has no read permissions for the group and others.
Resolution
Change permission to the file with the following command:
# chmod -R 655 /var/www/vhosts/example.com/httpdocs/upload/file_uploaded.txt
Comments
0 comments
Please sign in to leave a comment.