Francis Daly
February 11, 2018 01:58PM
On Sun, Feb 11, 2018 at 12:17:38AM +0100, C. Jacobs wrote:

Hi there,

Not specifically tested, but...

> [crit] 1181#0: *1 rename() "/opt/spool/nginx/client_temp/1/0000000001” to "/opt/share/www/domain.tld/index.html-3hlCQ9iE" failed (13: Permission denied), client: 1.2.3.9, server: host.domain.tld, request: "PUT /www/domain.tld/index.html-3hlCQ9iE HTTP/1.1", host: "172.21.2.2"

> • ls -l /opt/share/www
> drw-rw-r-- 2 www-rw www-w 4096 Feb 9 13:51 domain.tld

...add "x" permissions there.

That is, "chmod 775 (or 755) /opt/share/www/domain.tld"

> What should I fix (in the permissions?) to resolve the Nginx dav permission denied errors?

"x" on a directory is needed for some things that you might naively
think should only need "w".

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to resolve Nginx dav PUT request failed on rename() with (13: Permission denied)?

C. Jacobs February 10, 2018 06:20PM

Re: How to resolve Nginx dav PUT request failed on rename() with (13: Permission denied)?

Francis Daly February 11, 2018 01:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready