[users] fuse-davfs bug?

Robert Moskowitz rgm at htt-consult.com
Wed Jan 23 23:00:25 CET 2008


I have not been able to access the IEEE 802.11 webdav server with mount 
-t davfs but can access it with cadaver.  The URI is 
http://dav.mentor.ieee.org:80/

One person on the IEEE list offered a patch.  Another person said that 
this server is trying to set a cookie and fuse.davfs does not support 
cookies.

Anyway here is what I have tried and the error message

mount -t davfs dav://dav.mentor.ieee.org:80/ /mnt/ieee
dav://dav.mentor.ieee.org:80/ or hit enter for none.
Username:
/sbin/mount.davfs: mounting failed; the server does not support WebDAV

Oh, and this created a 
/var/cache/davfs2/dav.mentor.ieee.org+mnt-ieee+root/ directory.


and the offered patch:


Javier wrote:

I got this to work, but I had to patch and recompile davfs2.  This
works in ubuntu:

#  apt-get source davfs2
#  apt-get build-dep davfs2
#  cd davfs2-1.2.1
#  patch -p0 << HERE
--- src/webdav.c.orig   2008-01-21 13:10:10.000000000 -0800
+++ src/webdav.c        2008-01-21 13:04:30.000000000 -0800
@@ -357,7 +357,7 @@

     if (ret == 0) {
         initialized = 1;
-        if (!caps.dav_class1) {
+        if (!caps.dav_class1 && !caps.dav_class2) {
             if (have_terminal) {
                 error(EXIT_FAILURE, 0,
                       _("mounting failed; the server does not support
WebDAV"));
HERE
#  dpkg-buildpackage
#  cd ..
#  dkpg -i ./davfs2_1.2.1-3_i386.deb
#  mount -t davfs dav://dav.mentor.ieee.org:80 /mnt/ieee
#  ls /mnt/ieee/
802  802.11  802.15  802.19  802.21  802.22  imathelp  lost+found  mentor ...




More information about the users mailing list