https://wiki.archlinux.org/api.php?action=feedcontributions&user=Belkrrr&feedformat=atomArchWiki - User contributions [en]2024-03-29T01:30:41ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Davfs2&diff=195520Davfs22012-04-21T08:39:59Z<p>Belkrrr: /* Mounting as regular user */</p>
<hr />
<div>{{stub}}<br />
[[Category:File systems (English)]]<br />
==Introduction==<br />
'''DAVfs''' is a Linux file system driver that allows you to mount a WebDAV server as a disk drive. WebDAV is an extension to HTTP/1.1 that allows remote collaborative authoring of Web resources, defined in RFC 4918.<br />
<br />
==Installing DAVfs==<br />
Make sure the [extra] repo is enabled, then run:<br />
# pacman -S davfs2<br />
<br />
==Mounting the partition==<br />
Examples:<br />
# mount.davfs http://localhost:8080/ /mnt/dav<br />
# mount -t davfs http://localhost:8080/ /mnt/dav<br />
<br />
==Mounting as regular user==<br />
<br />
Add yourself to network group:<br />
# sudo usermod -a G network username<br />
<br />
Add webdav entry to /etc/fstab:<br />
# https://webdav.example.com /home/username/webdav davfs user,noauto,uid=username,file_mode=600,dir_mode=700 0 1<br />
<br />
Create secrets file in your home:<br />
# mkdir ~/.davfs2/<br />
# echo "https://webdav.example.com webdavuser webdavpassword" >> ~/.davfs2/secrets <br />
# chmod 0600 ~/.davfs2/secrets<br />
<br />
Now you should be able to mount and unmount ~/webvad:<br />
# mount ~/webdav<br />
# fusermount -u ~/webdav</div>Belkrrrhttps://wiki.archlinux.org/index.php?title=Davfs2&diff=195506Davfs22012-04-21T08:17:33Z<p>Belkrrr: </p>
<hr />
<div>{{stub}}<br />
[[Category:File systems (English)]]<br />
==Introduction==<br />
'''DAVfs''' is a Linux file system driver that allows you to mount a WebDAV server as a disk drive. WebDAV is an extension to HTTP/1.1 that allows remote collaborative authoring of Web resources, defined in RFC 4918.<br />
<br />
==Installing DAVfs==<br />
Make sure the [extra] repo is enabled, then run:<br />
# pacman -S davfs2<br />
<br />
==Mounting the partition==<br />
Examples:<br />
# mount.davfs http://localhost:8080/ /mnt/dav<br />
# mount -t davfs http://localhost:8080/ /mnt/dav<br />
<br />
==Mounting as regular user==<br />
<br />
Add yourself to network group:<br />
# sudo usermod -a G network username<br />
<br />
Add webdav entry to /etc/fstab:<br />
# https://webdav.example.com /home/username/webdav davfs user,noauto,uid=username,file_mode=600,dir_mode=700 0 1<br />
<br />
Create secrets file in your home:<br />
# mkdir ~/.davfs2/<br />
# echo "https://webdav.example.com webdavuser webdavpassword" >> ~/.davfs2/secrets <br />
# chmod 0600 ~/.davfs2/secrets</div>Belkrrr