Accessing WebDAV Resources
WebDAV, the 'Web Distributed Authoring and Versioning Filesystem', "is a set of extensions to the HTTP protocol which allows users to collaboratively edit and manage files on remote web servers." It is an open standard and supported by MS Windows, Mac OS X and Linux.It is superior to FTP in that it allows for strong encryption, proxy support, multiple transfers per connection and is less of an security nightmare FTP undoubtedly is. The most prominent provider of WebDAV shares so far is Apple. If you are a registered Apple user, you can get an account on Apple's servers, the so-called 'iDisk'. In order to access your WebDAV share from Linux, you have two possibilities: either you use an ftp-like command line client, or you mount that share to your local machine. The first method only takes two steps:
- Installing the cadaver WebDAV client from your Mandrake Linux CD:
- Connecting to WebDAV server and share
- Open 'davfs/inode.c' in an editor and go to line 620 (it's at the end of the file).
- Put a hash ('#') sign in front of these lines:
MODULE_AUTHOR("Sung Kim");
MODULE_DESCRIPTION("Web Distributed Authoring and Versioning Filesystem");
MODULE_LICENSE("GPL");
and save the file.
You will be prompted for your user name and password, then the share will be mounted. Use 'ls' or your favorite file manager to browse it via '/mnt/dav'. In order to unmount the share, run (as 'root') umount /mnt/dav In this standard setting, all users have read-only access to the mounted share, only 'root' has read/write access. In order to grant a user or a group of users write access to the share, you can use the '-U' or '-G' options. To grant local user 'tom' write access to the share: davmount http://server/share/ /mnt/dav -Utom Notice that the documentation included in the davfs archive ('doc/HOWTO.txt') should be taken with a grain of salt. I found it rather confusing if not dangerous. Especially do not provide your password via the '-p' option to the 'davmount' command! If you do this, everyone with access to your process table (i.e. every local user) will be able to read it. (Special thanks to Phil Lavigna, whose article about ~WebDAV on ~MandrakeForum was a great inspiration for this article.) Revision / Modified: Mar. 08, 2002
Author: Tom Berger Legal: This page is covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.
Accessing WebDAV Resources
Version 1.37 last modified by ac-toulouse on 09/11/2006 at 13:33
Version 1.37 last modified by ac-toulouse on 09/11/2006 at 13:33
Document data
- Lost account?
- Join the community, be part of the Club: it's free!
- Get the PWP Download Subscription!






Comments (3)