Mounting as ordinary non-root user is broken with davfs2 due to lack of setuid root

Bug #1057540 reported by xor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
davfs2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The manpage of mount.davfs specifies that there is an option called "user" to allow ordinary non-root users to mount davfs filesystems.

However, when trying to actually mount a davfs filesystem it will fail with "/sbin/mount.davfs: program is not setuid root".
This is in fact the case, the binary lacks the setuid flag.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

This works for me and has worked fine for me since precise.

$ grep dav /etc/fstab
https://webdav.mediencenter.t-online.de /mnt/telekom davfs noauto,user 0

I guess you are referring to the case where you are trying to mount davfs2 mounts as an ordinary user directly, without the help of fstab? I am not sure that is what is meant by the man page and I am not sure that is supported.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Yes, it seems that you missed the part "This option makes only sense when set in fstab." that is mentioned in the section related to [no]user.

This issue is invalid. But you should be able to use fstab to achieve what you are trying to do. If you are not root, try nautilus which has davfs support for ordinary users.

Changed in davfs2 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.