New behavior:
user@host:~$ mount /mnt /sbin/mount.davfs:/home/user/.davfs2/davfs2.conf:24: system option in user configuration file user@host:~$ ls /mnt aaa [snip] ** Description changed: Binary package hint: davfs2 If the sysadmin set system wide options in /etc/davfs2/davfs2.conf and she allows for unprivileged users to mount WebDAV resources then they will experience inconsistent results. Example: sysadmin@host:~$ echo "davfs2 davfs2/suid_file boolean true" | sudo debconf-set-selections -- sysadmin@host:~$ sudo dpkg-reconfigure davfs2 sysadmin@host:~$ sudo sh -c 'echo "http://webdav.cyberteams.com:8080/ /mnt davfs noauto,user 0 0" > /etc/fstab' user@host:~$ mount /mnt Please enter the username to authenticate with server http://webdav.cyberteams.com:8080 or hit enter for none. - Username: guest + Username: guest Please enter the password to authenticate user guest with server http://webdav.cyberteams.com:8080 or hit enter for none. - Password: guest + Password: guest user@host:~$ ls /mnt + aaa [snip] user@host:~$ umount /mnt /sbin/umount.davfs: waiting while mount.davfs (pid 13147) synchronizes the cache . user@host:~$ mount /mnt - /sbin/mount.davfs:/home/michael/.davfs2/davfs2.conf:24: unknown option + /sbin/mount.davfs:/home/user/.davfs2/davfs2.conf:24: unknown option This happens because /etc/davfs2/davfs2.conf is copied to ~/.davfs/ if ~/.davfs2 doesn't exist when mount.davfs2 is called. Due to LP: 459998 Ubuntu needs to include a system option in /etc/davfs2/davfs2.conf Fix: Warn instead of exiting when system options are in the users configuration and vice-versa ** Description changed: Binary package hint: davfs2 If the sysadmin set system wide options in /etc/davfs2/davfs2.conf and she allows for unprivileged users to mount WebDAV resources then they will experience inconsistent results. Example: sysadmin@host:~$ echo "davfs2 davfs2/suid_file boolean true" | sudo debconf-set-selections -- sysadmin@host:~$ sudo dpkg-reconfigure davfs2 sysadmin@host:~$ sudo sh -c 'echo "http://webdav.cyberteams.com:8080/ /mnt davfs noauto,user 0 0" > /etc/fstab' user@host:~$ mount /mnt Please enter the username to authenticate with server http://webdav.cyberteams.com:8080 or hit enter for none. Username: guest Please enter the password to authenticate user guest with server http://webdav.cyberteams.com:8080 or hit enter for none. Password: guest user@host:~$ ls /mnt aaa [snip] user@host:~$ umount /mnt /sbin/umount.davfs: waiting while mount.davfs (pid 13147) synchronizes the cache . user@host:~$ mount /mnt /sbin/mount.davfs:/home/user/.davfs2/davfs2.conf:24: unknown option + user@host:~$ ls /mnt + user@host:~$ This happens because /etc/davfs2/davfs2.conf is copied to ~/.davfs/ if ~/.davfs2 doesn't exist when mount.davfs2 is called. Due to LP: 459998 Ubuntu needs to include a system option in /etc/davfs2/davfs2.conf Fix: Warn instead of exiting when system options are in the users configuration and vice-versa -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/746700 Title: system wide options result in inconsistent user experience -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs