diff --git a/README.md b/README.md index 786244d7..51b6287c 100644 --- a/README.md +++ b/README.md @@ -990,7 +990,7 @@ some recommended FTP / FTPS clients; `wark` = example password: ## webdav server -with read-write support, supports winXP and later, macos, nautilus/gvfs +with read-write support, supports winXP and later, macos, nautilus/gvfs ... a greay way to [access copyparty straight from the file explorer in your OS](#mount-as-drive) click the [connect](http://127.0.0.1:3923/?hc) button in the control-panel to see connection instructions for windows, linux, macos @@ -1801,7 +1801,7 @@ alternatively, some alternatives roughly sorted by speed (unreproducible benchma * [rclone-http](./docs/rclone.md) (26s), read-only * [partyfuse.py](./bin/#partyfusepy) (35s), read-only * [rclone-ftp](./docs/rclone.md) (47s), read/WRITE -* davfs2 (103s), read/WRITE, *very fast* on small files +* davfs2 (103s), read/WRITE * [win10-webdav](#webdav-server) (138s), read/WRITE * [win10-smb2](#smb-server) (387s), read/WRITE diff --git a/copyparty/web/svcs.html b/copyparty/web/svcs.html index 6d25b9c9..a95c069e 100644 --- a/copyparty/web/svcs.html +++ b/copyparty/web/svcs.html @@ -64,16 +64,7 @@

WebDAV

-
-                yum install davfs2
-                {% if accs %}printf '%s\n' {{ pw }} k | {% endif %}mount -t davfs -ouid=1000 http{{ s }}://{{ ep }}/{{ rvp }} mp
-            
-

make it automount on boot:

-
-                printf '%s\n' "http{{ s }}://{{ ep }}/{{ rvp }} {{ pw }} k" >> /etc/davfs2/secrets
-                printf '%s\n' "http{{ s }}://{{ ep }}/{{ rvp }} mp davfs rw,user,uid=1000,noauto 0 0" >> /etc/fstab
-            
-

or you can use rclone instead, which is much slower but doesn't require root (plus it keeps lastmodified on upload):

+

rclone (v1.63 or later) is recommended:

                 rclone config create {{ aname }}-dav webdav url=http{{ s }}://{{ rip }}{{ hport }} vendor=owncloud pacer_min_sleep=0.01ms{% if accs %} user=k pass={{ pw }}{% endif %}
                 rclone mount --vfs-cache-mode writes --dir-cache-time 5s {{ aname }}-dav:{{ rvp }} mp
@@ -85,6 +76,16 @@ 

WebDAV

  • running rclone mount as root? add --allow-other
  • old version of rclone? replace all = with   (space)
  • +

    alternatively use davfs2 (requires root, is slower, forgets lastmodified-timestamp on upload):

    +
    +                yum install davfs2
    +                {% if accs %}printf '%s\n' {{ pw }} k | {% endif %}mount -t davfs -ouid=1000 http{{ s }}://{{ ep }}/{{ rvp }} mp
    +            
    +

    make davfs2 automount on boot:

    +
    +                printf '%s\n' "http{{ s }}://{{ ep }}/{{ rvp }} {{ pw }} k" >> /etc/davfs2/secrets
    +                printf '%s\n' "http{{ s }}://{{ ep }}/{{ rvp }} mp davfs rw,user,uid=1000,noauto 0 0" >> /etc/fstab
    +            

    or the emergency alternative (gnome/gui-only):