I'm trying to make a WebDAV auto-mount on my machine.I've installed davfs2, then copied /etc/davfs2 to ~/.davfs2. I added the WebDAV URL to /etc/fstab:[URL of the WebDAV]   [Local folder]    davfs   rw,user,auto    0   0I also added the username and password to ~/.davfs2/secrets and uncommented secrets ~/.davfs2/secrets in ~/.davfs2/davfs2.conf to enable automatic login.Now I can manually mount it by running mount www.myserver.com (it doesn't ask me for username/password). I understand that running mount -a will do the same thing that would've been done at boot, but when I run sudo mount -a as my user (just mount -a says I need to be root) I do get asked for a username/password.I then uncommented secrets ~/.davfs2/secrets in /etc/davfs2/davfs2.conf to enable automatic authentication (see this and this). Now running sudo mount -a AND just using mount both result in /sbin/mount.davfs:/etc/davfs2/davfs2.conf:36: unknown option. Line 36 is the secrets ~/.davfs2/secrets line.Why does it say unknown option? How do I fix it?
davfs unknown option because of secrets file
davfs2