Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]davfs2 cp: cannot stat /usr/share/davfs2/davfs2.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
elmar283
Guru
Guru


Joined: 06 Dec 2004
Posts: 316
Location: Haarlem, Netherlands

PostPosted: Sun Jun 12, 2011 11:37 am    Post subject: [SOLVED]davfs2 cp: cannot stat /usr/share/davfs2/davfs2.conf Reply with quote

I'm trying to mount my idisk with davfs2 without success. The problem is that davfs2 is looking for configuration files in '/usr/share/davfs2' while they are in '/etc/davsfs2'. This is the error I get:
Code:

 mount /mnt/idisk/
cp: cannot stat `/usr/share/davfs2/davfs2.conf': No such file or directory
cp: cannot stat `/usr/share/davfs2/secrets': No such file or directory
Please enter the username to authenticate with server
http://idisk.me.com/elmarotter or hit enter for none.
  Username: elmarotter
Please enter the password to authenticate user elmarotter with server
http://idisk.me.com/elmarotter or hit enter for none.
  Password: 
/sbin/mount.davfs: Mounting failed.
Could not authenticate to server: rejected Digest challenge, rejected Basic challenge


This is my /etc/fstab line:
Code:

http://idisk.me.com/elmarotter /mnt/idisk davfs rw,user,noauto 0 0


I emerged davfs2 with 'emerge -av davfs2'

Does anyone know how I can resolve this problem?


Last edited by elmar283 on Sun Jun 12, 2011 12:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
elmar283
Guru
Guru


Joined: 06 Dec 2004
Posts: 316
Location: Haarlem, Netherlands

PostPosted: Sun Jun 12, 2011 12:15 pm    Post subject: [SOLVED] mounting idisk with davfs2 Reply with quote

I still don't know why it doesn't work with the configuration I used, but I've solved the problem by replacing:
Code:
http://idisk.me.com/elmarotter /mnt/idisk davfs rw,user,noauto 0 0

with:
Code:
https://idisk.me.com/elmarotter /mnt/idisk davfs rw,user,noauto 0 0


Now the mounting works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum