@nottolino
Done on Debian 10 (buster)
1-create a mount point in your home directory. eg: /home/user/ecloud
2-install davfs2, when installing the packet manager asks you if you accept setuid bit. Answer “yes”.
in your home directory create a ~/.davfs2 directory
copy /etc/davfs2.conf and /etc/davfs2/secrets into your ~/.davfs2 directory
verify ownerchips and rights of these files:
(user:user rw.r–.r-- and user:user rw.—.—) respectively.
at the end of /home/user/.davfs2/secrets add your credentials.
for instance:
#---------- ecloud credentials in ~/.davfs2/secrets -----------------
/home/denux/ecloud denux.example@e.email mypassword
#
# Nota: fields are separated with tabulation(s).
# (I didn't test with simple spaces)
#---------------------------------------------------------------------
I’ve also added at the end of /home/user/.davfs2/davfs2.conf the following line:
#-------------- added in ~/.davfs2/davfs2.conf ------------------------
use_locks 0
#----------------------------------------------------------------------
I don’t remember what thought, perhaps it’s not a mandatory.
3-Now edit /etc/fstab (you have to be root) and add something like that:
#---------------------------- added in /etc/fstab --------------------
https://murena.io/remote.php/webdav /home/denux/ecloud davfs rw,user,noauto 0 0
#
#Nota: fields are separated with tabulation(s).
#------------------------------------------------------------------------------
4-That’s all as far i can remember.
Now you can go to your file manager (I use Caja 1.20.3, because i use MATE as a desktop). I guess it’s similar to others file managers. Because of the /etc/fstab 's modification you should now see a new device named “ecloud” (in my example) in your file manager. Simply double click on it, and the remote filesystem will be mounted. For unmounting, click on the “unmout icon”.
I’ve also tested this on a Ubuntu Mate 20. All was ok except unmounting: for some reason i had to use the command line
“fusermount -u /home/user/ecloud” (without comas) instead of unmounting via the file manager.
I didn’t yet investigate what was wrong because it was only a test. Sorry for that.
Best regards,
Denux