O
O
Oleg2018-05-29 23:40:16
PHP
Oleg, 2018-05-29 23:40:16

What is the [crit] openat() error?

Please tell me how to get rid of the error. The entire log file is full
2018/05/29 23:39:11 [crit] 1138#1138: *2341 openat() "/var/www/www-root/data/www/SITE.RU/wp-content/uploads/ 2018/03/vestovoi.png" failed (13: Permission denied), client: 31.173.103.48, server: SITE.RU, request: "GET /wp-content/uploads/2018/03/vestovoi.png HTTP/1.1" , host: "SITE.RU", referrer: " https://SITE.RU/ "
How can I fix this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Night, 2018-05-30
@maxtm

The web server does not have access to the wp-content/uploads/2018/03/vestovoi.png file

O
Oleg, 2018-05-30
@402d

0700 you have. Nginx must also claim the file as the owner of the file. Either change the directive in the configuration or change the mask in wp upload and change the existing ones

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question