# add credentials to .davfs/secrets # mountpoint username password echo '/home/jane/cloud/Tech jane your_password_here' >> ~/.davfs2/secrets # add system mount to /etc/fstab sudo cp /etc/fstab /etc/fstab.back sudo echo 'https://cloud.example.com/remote.php/dav/files/jane/Tech /home/jane/cloud/Tech davfs user,rw,auto 0 0' >> /etc/fstab