When trying to use it (with a nexcloud server which is said to be suported on the github page, I get following result : - As non root : mount -t webdavfs -ousername=erwan,password=xxxx https://vapeur.rail.eu.org/remote.php/dav/files/erwan/' ~/mnt mount: https:/vapeur.rail.eu.org/remote.php/dav/files/erwan: Operation not permitted - as root : sudo mount -t webdavfs -ousername=erwan,password=bg94x-Acf78-BS9Gy-HCKY6-ftdRe 'https://vapeur.rail.eu.org/remote.php/dav/files/erwan/' /mnt/vapeur-test mount: https:/vapeur.rail.eu.org/remote.php/dav/files/erwan: Operation not supported by device (/mnt/vapeur-test is an empty directory owned by root) Notice the single / after https in the answer, in case it is important
Sorry for late reply. Please specify exact FreeBSD version you use. And exact version of your NextCloud instance. Do you run NextCloud under FreeBSD, too? Also, please obtain debugging info using additional mount flags: -F /tmp/trace.txt -Tfuse,webdav,httpreq,httphdr
Created attachment 225864 [details] trace in the non sudo case
Created attachment 225865 [details] trace in the sudo case attempt was successful
Hello. Versions are (today, but I get same behaviour) FreeBSD 12.2-RELEASE-p7 for client and server, Nextcloud 21.0.2 To obtain the trace I had to use mount.webdavfs directly instead of mount -t webdavfs And it worked, when called by root (through sudo). That could be a good start for a workaround, I'll have to check the access options. But I attached both trace files as you asked.
Sorry, I forgot to add that in the "working" case, I get error message https://vapeur.rail.eu.org/remote.php/dav/files/erwan/: no PUT Range support, mounting read-only
(In reply to freebsd from comment #2) To mount it as non-root, please refer to the FreeBSD FAQ section "8.18. How do I let ordinary users mount CD-ROMs, DVDs, USB drives, and other removable media?" https://docs.freebsd.org/en/books/faq/
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba9b50a94af9c3dae55cb78b8a12a6923c941308 commit ba9b50a94af9c3dae55cb78b8a12a6923c941308 Author: Eugene Grosbein <eugen@FreeBSD.org> AuthorDate: 2021-06-17 04:38:30 +0000 Commit: Eugene Grosbein <eugen@FreeBSD.org> CommitDate: 2021-06-17 04:38:30 +0000 sysutils/fusefs-webdavfs: update to g20200520 - catch up with upstream changes for the code and dependencies; - switch port to USES=go:modules and GH_TUPLE. PR: 255235 sysutils/fusefs-webdavfs/Makefile | 46 ++++++++++++++------------------------- sysutils/fusefs-webdavfs/distinfo | 16 ++++++++------ 2 files changed, 25 insertions(+), 37 deletions(-)
I've just updated the port. Update your ports tree and rebuild latest version to check if it behaves better. Please report back.
Feedback timeout over a month.