I want to mount a folder to sync with my Ubuntu One account. The only restriction is that I don't want to use the client provided. I use Arch Linux if it counts. And if you can provide a general solution for all WebDAV(??) resources it would be useful and good reference.
To mount a WebDAV resource as a drive in linux, you can use davfs2. In Debian-based distributions, this can be downloaded as the
I wrote a blog entry about mounting a specific WebDAV resource using davfs2 a while ago. I will outline the relevant details here.
Once you have davfs2 installed on your system, you should be able to use the
Depending on how your davfs2 install is configured, you may be able to mount as a normal user, or you may need to be root (or have superuser privileges). On my Ubuntu system, I added my username to the davfs2 group (
If you are going to be repeatedly mounting a particular WebDAV source, you can simplify the mounting process by adding an entry to
You can further simplify the mounting process by storing your username and password for the WebDAV resource in
My setup had some particular quirks, the solutions to which are outlined in my blog post
Just following up here for others that might be interested in this - see Ubuntu's wiki page regarding the architecture. It is not possible to access Ubuntu One via WebDAV.