Score:0

webDAV mount contains only `lost+found` folder

cn flag

I want to mount a webDAV remote on my ubuntu 22.04 system. Precisely, this is on a private storage service and is accessible through either

i) my credetials at the link https://pandora.infn.it/ws-my-files/test-webDAV-mount

ii) a public link without passwords: https://pandora.infn.it/public/13359c

I tried following this guide , taking some hints from other sources. The exact steps I did are the following:

  1. Install webdav sudo apt-get install davfs2, ensuring to enable non-root mounts.
  2. Edit /etc/fstab (I tested both the above links):
$ sudo nano /etc/fstab

# append lines:
https://pandora.infn.it/public/13359c /home/luca/pandora_public davfs ro,user,noauto 0 0
https://pandora.infn.it/ws-my-files/test-webDAV-mount /home/luca/pandora_credentials davfs ro,user,noauto 0 0
  1. Add my user to davfs2 group as suggested here:
sudo usermod -aG davfs2 luca
su -l luca

If I check, my user correctly shows davfs2 among its groups:

$ groups
luca adm cdrom sudo dip plugdev lpadmin lxd sambashare davfs2 docker

At this point, I should be able to run $ mount pandora_public or $ mount pandora_credentials, but in either case I am prompted for credentials and get /sbin/mount.davfs: mounting failed; the server does not support WebDAV.

So I also edited /etc/davfs2/davfs2.conf appending ignore_dav_header 1 as suggested here.

Finally, if I re-try it seems both commands ($ mount pandora_public or $ mount pandora_credentials) work and indeed I have a mounted directory. However, mount points only contain a lost+found empty folder.

I suspect it must be something with the authentication since I get the same results even if I use deliberately wrong username and password, however I don't get any error message nor warning. Any help would be much appreciated :D

Hope to have included all relevant details, don't hesitate to ask for more info if needed!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.