WebDAV permission error

Maxim Dounin mdounin at mdounin.ru
Wed Sep 29 17:38:28 UTC 2021


On Wed, Sep 29, 2021 at 05:13:38PM +0000, axespam wrote:

> Hello, I am trying to setup a WebDAV share but I am running into an issue. After I have the WebDAV share created and mounted I can delete files but not folders. When I try to delete a folder it says I don't have permissions. I have given rw access to all.
> This is the error log from trying to delete the folder.
> 2021/09/29 01:20:00 [error] 3098#3098: *1 DELETE "/data/dav/http/dav/test/del" failed (21: Is a directory), client:, server: localhost, request: "DELETE /dav/test/del HTTP/1.1", host: ""
> Any help appreciated thank you

If you want to delete a WebDAV collection (directory), use a 
trailing "/" in the URI.

Maxim Dounin

More information about the nginx mailing list