- Plesk for Linux
The following error occurs on attempt to open a file at
The following error can be found in
2017/08/27 22:51:57 [error] 32190#0: *18506 open() "/var/www/vhosts/example.com/httpdocs/folder/file.txt" failed (13: Permission denied), client: 192.0.2.2, server: example.com, request: "GET /folder/test.txt HTTP/2.0", host: "203.0.113.2"
Wrong permissions on the directory
1. Connect to a Plesk server using SSH.
2. Correct permissions on the directory. Permissions should be as follows:
# ls -ld /var/www/vhosts/example.com/httpdocs/folder/
drwxr-xr-x 2 sys_user psacln 4096 Aug 27 00:49 /var/www/vhosts/example.com/httpdocs/folder/
- where sys_user is a system user of a subscription