Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have seen examples showing how to use davfs2 under linux, but each has involved one of these things:

  1. Running mount as root

  2. Adding an entry to /etc/fstab

  3. Running mount.davfs setuid, which, alas, still requires an entry in /etc/fstab

Can this be avoided? If not, what aspect of webdav prevents it, more than for, e.g. sshfs?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

Davfs2 isn't implemented like a normal FUSE filesystem. The Wikipedia page and the documentation mention that it can work on top of either Coda or FUSE, but the project description doesn't mention FUSE (and hints at native integration). The Debian package does not depend on FUSE, and the binary it ships only runs as root. This is not intrinsic to WebDAV, it's just the way Davfs2 is implemented.

There are other WebDAV filesystem built on FUSE: Fusedav, Wdfs. Fusedav seems to be present in more distributions, but wdfs works better with some broken servers. These will work as long as you're allowed to use FUSE on your system.

share|improve this answer
1  
I couldn't get fusedav to build but wdfs worked for me. Thank you. –  Owen Sep 3 '11 at 21:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.