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

Bug#655077: davfs2: setuid bit missing for /sbin/mount.davfs

170 views
Skip to first unread message

Xypron

unread,
Jan 8, 2012, 7:30:02 AM1/8/12
to
Package: davfs2
Version: 1.4.6-1
Severity: normal

Dear Maintainer,

in file /etc/fstab I use a line like:
https://dav.mydomain.org/webdav /mnt/svn davfs
rw,user,noauto,file_mode=0770,dir_mode=0770 0 0

When issuing
$ /mnt/svn
I received an error
/sbin/mount.davfs: die Programmdatei hat das setuid-Bit nicht gesetzt
(/sbin/mount.davfs: the program file does not have setuid bit set)

This error dispappeared after setting the bit:
sudo chmod u+s /sbin/mount.davfs

Package davfs2 should set the bit when being installed.

Best regards

Heinrich Schuchardt



-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages davfs2 depends on:
ii adduser 3.113
ii debconf [debconf-2.0] 1.5.41
ii libc6 2.13-24
ii libneon27-gnutls 0.29.6-1

davfs2 recommends no packages.

davfs2 suggests no packages.

-- Configuration Files:
/etc/davfs2/secrets [Errno 2] Datei oder Verzeichnis nicht gefunden:
u'/etc/davfs2/secrets'

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




--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Werner Baumann

unread,
Jan 8, 2012, 12:20:01 PM1/8/12
to
In Debian this is a configuration option.
You should be asked at installation time whether to set the setuid bit
or not. You may change your decision at any time by invoking
'dpkg-reconfigure davfs2'.

Werner

Xypron

unread,
Jan 8, 2012, 2:10:02 PM1/8/12
to
Hello Werner,

sudo dpkg-reconfigure davfs2
shows the dialog you describe.

sudo apt-get purge davfs2
sudo apt-get install davfs2
will not show the dialog.

It would be preferable to show the dialog at installation time, too.

Best regards

Heinrich
0 new messages