Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS client cannot use nginx-webdav #48

Open
haraldrudell opened this issue Sep 23, 2019 · 0 comments
Open

macOS client cannot use nginx-webdav #48

haraldrudell opened this issue Sep 23, 2019 · 0 comments

Comments

@haraldrudell
Copy link

Server: Ubuntu 19.04 nginx-full 1.15.9-0ubuntu1.1
Client: macOS Mojave 10.14.6
Linux-client: davfs2 1.5.4-3, Ubuntu 19.04
Ubuntu has some oldie that do not support locks LOCK UNLOCK

Action: cp -an to server

macOS:
mount_webdav -i http://1.2.3.4/uri /localdirectory

  • every directory gives Error 20
    nginx log for every directory:
2019/09/22 11:26:58 [error] 24773#24773: *1 open() "/…" failed (2: No such file or directory), client: 192.168.1.77, server: , request: "GET /… HTTP/1.1", host: "192.168.1.125"
2019/09/22 11:26:58 [alert] 24773#24773: *1 dav_ext stat failed on '/…' (2: No such file or directory), client: 192.168.1.77, server: , request: "PROPFIND /… HTTP/1.1", host: "192.168.1.125"

nothing is copied
retry same result

Linux client:
first cp ends in error
subsequent cp works without data corruption

server {
  listen 80;
  listen [::]:80;

  location /tostorage {

    auth_basic              realm_name;
    auth_basic_user_file    /etc/nginx/.passwords.list;

    dav_methods     PUT DELETE MKCOL COPY MOVE;
    dav_ext_methods PROPFIND OPTIONS;
    dav_access      user:rw group:rw all:r;

    client_body_temp_path   /var/nginx/client-bodies;
    client_max_body_size    0;
    create_full_put_path    on;

    root /mnt/rwstore;
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant