Welcome! Log In Create A New Profile

Advanced

Nginx WebDAV server shows read-only on OS X client

Posted by gattu_marrudu 
Nginx WebDAV server shows read-only on OS X client
December 15, 2013 02:07PM
Hi,
I set up a Nginx webDAV server with the additional nginx-dav-ext-module (https://github.com/arut/nginx-dav-ext-module).

This is my configuration:
server {
listen 80;
server_name mydomain.com;
access_log /var/log/nginx/dav_public.access.log;
error_log /var/log/nginx/dav_public.error.log;
root /srv/http/public/webDAV/;

location / {
# WebDAV
client_body_temp_path /var/tmp/nginx_webdav;

dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;

create_full_put_path on;
dav_access user:rw group:rw;

limit_except GET {
auth_basic "webdav";
auth_basic_user_file /srv/http/private/htpasswd.dav_public;
}

}
}


I can log in and perform R/W operations with cadaver:

$ cadaver http://mydomain.com
Authentication required for webdav on server `mydomain.com':
Username: mylogin
Password:
dav:/> mkcol test
Creating `test': succeeded.
dav:/> rmcol test
Deleting collection `test': succeeded.
dav:/>
Connection to `mydomain' closed.

But if I connect with an os X client, I can only browse the DAV server in read-only mode. Finder does not show "New folder" and other options in the context menu and I can't drag files onto existing folders.

On my nginx access log I see these calls (IP address and login redacted):

1.2.3.4 - - [15/Dec/2013:10:05:04 -0600] "OPTIONS / HTTP/1.1" 401 194 "-" "WebDAVLib/1.3"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "OPTIONS / HTTP/1.1" 200 0 "-" "WebDAVLib/1.3"
1.2.3.4 - - [15/Dec/2013:10:05:04 -0600] "OPTIONS / HTTP/1.1" 401 194 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "OPTIONS / HTTP/1.1" 200 0 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:04 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /._. HTTP/1.1" 207 250 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "GET /._. HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /Contents HTTP/1.1" 207 255 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /._. HTTP/1.1" 207 250 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "GET /._. HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /.hidden HTTP/1.1" 207 254 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "GET /.hidden HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /.Spotlight-V100 HTTP/1.1" 207 262 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /.hidden HTTP/1.1" 207 254 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "GET /.hidden HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /mach_kernel HTTP/1.1" 207 258 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /.metadata_never_index HTTP/1.1" 207 268 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /System HTTP/1.1" 207 253 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /._. HTTP/1.1" 207 250 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "GET /._. HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /.hidden HTTP/1.1" 207 254 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "GET /.hidden HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /._. HTTP/1.1" 207 250 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "GET /._. HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:05 -0600] "PROPFIND /._. HTTP/1.1" 207 250 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "GET /._. HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /.hidden HTTP/1.1" 207 254 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "GET /.hidden HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /.DS_Store HTTP/1.1" 207 256 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /._.DS_Store HTTP/1.1" 207 258 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND / HTTP/1.1" 207 598 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "GET /._.DS_Store HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /._. HTTP/1.1" 207 250 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "GET /._. HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /Backups.backupdb HTTP/1.1" 207 263 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /.DS_Store HTTP/1.1" 207 256 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /.hidden HTTP/1.1" 207 254 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "GET /.hidden HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "PROPFIND /._Backups.backupdb HTTP/1.1" 207 265 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"
1.2.3.4 - mylogin [15/Dec/2013:10:05:06 -0600] "GET /._Backups.backupdb HTTP/1.1" 404 168 "-" "WebDAVFS/2.0.0 (02008000) Darwin/12.5.0 (x86_64)"

Is there some additional feature that I'm not enabling and that is required by the OS X DAV client?

Thank you,
gm
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 338
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