On Thu, 6 Nov 2003, Schwartz Avi wrote: > Hi, > > Using 9.2. Installed davfs and now I am trying to mount a WebDAV > share. I am trying the following: > > mount.davfs http://www.server.domain/dav /mnt/dav -u username -p > password > > This is how it is described in the readme file. This however does not > work. I get the following error: > > /mnt/dav: invalid option -- u > ERROR: problem parsing cmdline args > > > This: > > mount.davfs http://www.server.domain/dav /mnt/dav > > Generates no error, but it causes /mnt/dav to generate this error: > > # ls -l /mnt > ls: /mnt/dav: Permission denied > total 3 > dr-xr-xr-x 10 root root 4096 Sep 26 04:31 cdrom/ > drwxrwxrwx 0 root root 0 Nov 6 09:32 floppy/ > > > So, is anyone using davfs successfully? > > Thanks, > Avi >
Despite the docs, it looks like it wants just 'u', and 'p', rather than '-u' and '-p': [EMAIL PROTECTED] root]# mkdir /mnt/dav [EMAIL PROTECTED] root]# mount.davfs http://localhost/~stew/ /mnt/dav u stew p stewspass [EMAIL PROTECTED] root]# mount | tail -1 http://localhost/~stew/ on /mnt/dav type davfs (0) [EMAIL PROTECTED] root]# ls -l /mnt/dav total 13 -rwxrw-r-- 1 500 500 569 Nov 3 13:16 focustest.php* -rwxrw-r-- 1 500 500 20 Nov 3 13:16 phpinfo.php* -rwxrw-r-- 1 500 500 87376 Oct 27 17:35 test.html* -rwxrw-r-- 1 500 500 95 Nov 3 13:16 test.php* Actually, I got the same results with no user or pass: [EMAIL PROTECTED] root]# umount /mnt/dav [EMAIL PROTECTED] root]# mount.davfs http://localhost/~stew/ /mnt/dav [EMAIL PROTECTED] root]# ls -l /mnt/dav total 13 -rwxrw-r-- 1 500 500 569 Nov 3 13:16 focustest.php* -rwxrw-r-- 1 500 500 20 Nov 3 13:16 phpinfo.php* -rwxrw-r-- 1 500 500 87376 Oct 27 17:35 test.html* -rwxrw-r-- 1 500 500 95 Nov 3 13:16 test.php* [EMAIL PROTECTED] root]# rpm -qa | grep dav mod_dav-1.0.3-15mdk davfs-0.2.4-7mdk -- Stew Benedict
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
