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