Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I accomplish a set up where a webDAV service on a single server is mounted multiple times using different credentials?

I am imagining something like this kind of set up that allows davfs2 to correctly associate the credentials with the mount

/etc/fstab

https://server.com/dav /mnt1 davfs rw 0 0
https://server.com/dav /mnt2 davfs rw 0 0

/etc/davfs2/secrets

https://server.com/dav user@email.com password
https://server.com/dav user2@differentemail.com differentpassword
share|improve this question

1 Answer 1

up vote 2 down vote accepted

I believe your secrets file needs to show the mount locations. In my install

/mnt1 user@email.com password

/mnt2 user2@differentemail.com differentpassword

See below for more details.

https://wiki.archlinux.org/index.php/Davfs

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.