Mounting webdav under NetBSD with unprivileged user

Submitted by Fekete Zoltán on Sat, 01/21/2017 - 13:53

After a few steps you will be able to mount a standard webdav share into your NetBSD box. A good generic tutorial about wdfs is on the link below.

  1. Install wdfs.

  2. Edit /etc/sysctl.conf, and add this line:

    vfs.generic.usermount=1

  3. Issue as root:

    # chmod 777 /dev/puffs; chmod 777 /dev/putter

  4. Now you can mount as normally with unprivileged user

​​​​​3rd step is a hack. IF I found how to add permissions right and permanently, I will update.