Monday, January 4, 2010

Mounting remote filesystem using davfs2 (FUSE)

I was trying to edit text file on webdav+https remote server. This is very simple from the GUI:

Go to : Places
Then select: Connect to Server

then simply set the URL of your webdav server. Everything just worked ok. However shortly after creating an empty file, my whole GNOME session stopped working.

So I decided to use FUSE+davfs2

$ apt-cache search davfs2
$ sudo apt-get install davfs2
$ cat /etc/fstab
https://mycompany.com/webdav /tmp/mywebdav davfs user,rw,noauto 0 0
$ mount /tmp/mywebdav
Make sure that your are part of group davfs2:

$ cat /etc/group
davfs2:x:128:mathieu

No comments: