Reviving this old thread because I have just gone through the pain of working out how to mount my eCloud in Linux and thought I had better document it before I forgot.
This method uses systemd to automount the eCloud on a directory when it is accessed. It should work with any desktop and file manager.
First install the davfs2 package using your distro’s package manager
next create a mount point in your home directory
mkdir ~/eCloud
Then create a file (as root) with
sudo nano /etc/systemd/system/home-USER-eCloud.mount where USER is your linux user name
containing
[Unit]
Description=Mount WebDAV Service
After=network-online.target
Wants=network-online.target
[Mount]
What=https://ecloud.global/remote.php/webdav
Where=/home/USER/eCloud
Options=uid=1000,file_mode=0664,dir_mode=2775,grpid
Type=davfs
TimeoutSec=30
[Install]
WantedBy=multi-user.target
(Replace USER with your user name)
(uid=1000 assumes your user id number is 1000, change it if it is not)
It is essential that the name of the file matches the path of the mount point.
Do not enable or start this systemd unit because this unit will be triggered by the next unit we will create
sudo nano /etc/systemd/system/home-USER-eCloud.automount
containing
[Unit]
Description=Mount WebDAV Service
After=network-online.target
Wants=network-online.target
[Automount]
Where=/home/USER/eCloud
TimeoutIdleSec=300
[Install]
WantedBy=remote-fs.target
next we have to save the login credentials
sudo nano /etc/davfs2/secrets
Add a line
/home/USER/eCloud “YOURMAIL@e.email” “YOURPASSWORD”
USER is the linux user
YOURMAIL is your /e/ email
YOURPASSWORD is your /e/ password
I found that davfs would not work through my VPN so I had to route davfs around the VPN using a proxy server. I have privoxy running on another computer. To use it simply add another line to the secrets file
192.168.1.46:8118 YOURMAIL@e.email
(replace with the host address and port number of your own proxy.)
Next we have to edit a file
sudo nano /etc/davfs2/davfs2.conf and add a line
use_locks 0
Now enable and start the automount unit
sudo systemctl daemon-reload
sudo systemctl enable home-USER-eCloud.automount
sudo systemctl start home-USER-eCloud.automount
Now the moment of truth. Browse to your /home/USER/eCloud folder using your file manager, and click on it. Hey presto your eCloud file system should appear. Hopefully…
If it does not work use journalctl -r to find error messages.
Hope someone finds this useful.