To mount a WebDAV URL in Fedora, you can use the davfs2
driver, which allows you to treat WebDAV shares like regular file systems. Here's a step-by-step guide:
davfs2
sudo dnf install davfs2
davfs2
Groupsudo usermod -aG davfs2 $USER
Then log out and back in to apply the group change.
sudo mkdir /mnt/webdav
Use your WebDAV credentials:
sudo mount -t davfs https://your-webdav-url.com /mnt/webdav
You'll be prompted for your username and password.
/etc/fstab
Add this line to your /etc/fstab
:
https://your-webdav-url.com /mnt/webdav davfs user,noauto 0 0
Then store your credentials in ~/.davfs2/secrets
:
https://your-webdav-url.com username password
Make sure the file is secure:
chmod 600 ~/.davfs2/secrets
Would you like help troubleshooting a specific WebDAV URL or setting up persistent mounts with encryption?