add this to /etc/fstab
Code:https://box.net/dav /media/box.net davfs defaults 0 0
Printable View
add this to /etc/fstab
Code:https://box.net/dav /media/box.net davfs defaults 0 0
I got a error
"Input/output error"
When I tried to create a file on the box.net mount. I found this fix.
Put use_locks 0 to your davfs2.conf file
That was very handy when I finally found this post. However, I'm still getting some input/output errors, both reading and writing files. Any ideas why?
Also, has anyone had any success using rsync or unison with a box.net mount? I tried rsync and it would do okay for a while then fail with input/output errors.
I just setup my box.net and wanted to share the steps with anybody having trouble. I suppose you've installed davfs already.
Create a mount point:
Add this to /etc/fstab (correct the details for your user):Code:mkdir ~/box.net
(Just as a note, https didn't work for me. It mounts but copied files never showed up. I saw something on their site about 256bit SSL encryption being available when you upgrade to business.)Code:http://www.box.net/dav /home/user/box.net davfs rw,user,noauto 0 0
To allow your your user to mount without being root you want to say yes to this:
Then add user to davfs2 groupCode:sudo dpkg-reconfigure davfs2
Let's configure davfs in your home directoryCode:sudo adduser $USER davfs2
Add this to ~/.davfs2/davfs2.conf:Code:mkdir ~/.davfs2
cp /etc/davfs2/davfs2.conf ~/.davfs2
To avoid typing your login and password every time:Code:use_locks 0
Add your login and pass to ~/.davfs2/secrets:Code:sudo cp /etc/davfs2/secrets ~/.davfs2
sudo chown $USER ~/.davfs2/secrets
And finally mount:Code:http://www.box.net/dav username@mail.com password
I hope I didn't miss anything. I used some stuff originally found in french here: http://doc.ubuntu-fr.org/davfs2Code:mount ~/box.net
I've been running rsync for a little while and ever since I got the configuration correct (i.e., nolocks, http) I haven't had any trouble.
On the other hand, I want better synchronization so instead of rsync (or even Unison) I'm thinking of using something like dvcs-autosync or SparkleShare because they use a git backend and provide version control (among other features), but I haven't figured out how to set it up so that I can put the "central" .git repo on my box.net. (Maybe it's really simple.) Also, lots of my files are photos & music and I'm not sure if using git on them is a good idea.
http://www.syncany.org/ might be an interesting option, they say they provide synchronization for local folders (including nfs and fuse mounts) out of the box, but the project doesn't seem very mature yet.
Any ideas?
HI, would you mind telling me how you managed to connect to box.net using Cadaver?
I've tried many many times and get this error:
Could not access /dav/ (not WebDAV-enabled?):
207 Multi-Status
Connection to `www.box.net' closed.
What am I doing wrong?
EDIT:
Just figured out you have to pass the -t option to cadaver:
and everything works perfectly. =)Code:cadaver -t https://www.box.net/dav
Hello,
I'm getting the same error too here. Accessing to my box.net account through webdav on macos worked well a few days ago.
Thanks.. I was able to connect with Nautilus using www.box.com/dav
I kept getting this error:
and solved it by changing my fstab from http://www.box.net to https://www.box.com after reading this thread.Code:/sbin/mount.davfs: Mounting failed.
302 Found
I think the problem is that box.net redirects to box.com.