Nick’s Old WP Blog

Just another blog of a random person’s random thoughts

Ubuntu + Box.net = Happy Nick

+
Well one of the things that I could never seem to get working with Centos was the mounting of a webdav filesystem via davfs. Well today with the help of Ubuntu and the web, I’ve gotten it figure

# apt-get install davfs2# mkdir /media/box.net# mount -t davfs http://www.box.net/dav /media/box.net

I was also able to get the mount to work as me by adding a .davfs directory for me with the username and password, plus with an fstab entry. Of course you also have to setuid the mount.davfs for root.

// setuidchmod 4555 executable_file// setgidchmod 2555 executable_file

But now that that is all working, I can actively use my box.net account as part of my filesystem.
I’m happy.

references:
[howto] Mount your Box.Net account using WebDAV via ubuntuforums
How to set the setuid and setgid bit for files in Unix

January 8, 2007 - Posted by nickc321 | linux, ubuntu, web2.0 | | 2 Comments

2 Comments »

  1. Nice hack!

    I’ve been impressed with box.net, and now I’m even more so.

    Thanks for sharing.

    Comment by Ben Simon | January 9, 2007 | Reply

  2. well it worked for a while…. when I reboot the computer and tried to reconnected I ran into permission problems again…. I’ll have to keep working on it and post updates in the future.

    Comment by nick carrasco | January 9, 2007 | Reply


Leave a comment