Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1010756: davfs2: should allow non-root users to mount a davfs file system (like sshfs)

208 views
Skip to first unread message

Vincent Lefevre

unread,
May 9, 2022, 6:30:04 AM5/9/22
to
Package: davfs2
Version: 1.6.1-1
Severity: normal
Tags: upstream

When I installed davfs2, a dialog box said that it needed to be
setuid to allow non-root users to mount a davfs file system.
Moreover, mount.davfs also needs an entry in /etc/fstab, otherwise
one gets an error "no entry for ... found in /etc/fstab".

It should be fixed to make these things unneeded. As a comparison,
sshfs doesn't need all that. I don't see what could be different
between sshfs and davfs2 concerning permissions (e.g. both are
based on FUSE).

-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages davfs2 depends on:
ii adduser 3.121
ii debconf [debconf-2.0] 1.5.79
ii libc6 2.33-7
ii libneon27 0.32.2-1

davfs2 recommends no packages.

davfs2 suggests no packages.

-- Configuration Files:
/etc/davfs2/secrets [Errno 13] Permission denied: '/etc/davfs2/secrets'

-- debconf information:
davfs2/user_name: davfs2
* davfs2/suid_file: true
davfs2/new_user: true
davfs2/group_name: davfs2
davfs2/new_group: true
davfs2/non_root_users_confimed:

--
Vincent Lefèvre <vin...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
0 new messages