Mounting a Webdav File System: Difference between revisions
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
= Linux = | = Linux = | ||
In Linux (and other POSIX compliant operating systems) you can connect a local directory (~/experiment in this example) to the Webdav resource: | In Linux (and other POSIX compliant operating systems) you can connect a local directory (~/experiment in this example) to the Webdav resource (replace USER with your username): | ||
sudo apt install davfs2 # | sudo apt install davfs2 # no need to allow non root users (setuid root) | ||
mkdir ~/experiment | mkdir ~/experiment | ||
mount.davfs https://exp.socsci.ru.nl/experiment/webdav.php ~/experiment -o rw | sudo mount.davfs https://exp.socsci.ru.nl/experiment/webdav.php ~/experiment -o rw,uid=USER,gid=USER | ||
If you want to mount this resource each time you boot your computer, put the following in /etc/fstab (replacing USER with your username) | If you want to mount this resource each time you boot your computer, put the following in /etc/fstab (replacing USER with your username) | ||