Package: davfs2
Version: 1.4.5-1
Severity: normal

*** Please type your report below this line ***

Hi,

I just started to use davfs2 with the following line in my /etc/fstab:

https://myremoteserver/home/user/ /media/mount_point davfs user,noauto 0 0

but when I try to mount the device as a normal user the following error is 
displayed:

/sbin/mount.davfs: program is not setuid root

It can be solved by setting the SUID bit with

chmod u+s /usr/sbin/mount.davfs (/sbin/mount.davfs is a symbolic link)

and adding the current user to the davfs2 group.

Maybe it would be useful to add the SUID bit by default and run a
postinst script that asks to add the normal user(s) to davfs2 group.

What do you think?

Thanks.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages davfs2 depends on:
ii  adduser                       3.112      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libneon27-gnutls              0.29.3-2   An HTTP and WebDAV client library 

davfs2 recommends no packages.

davfs2 suggests no packages.

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

-- 
Stefano

Fortune of the day: "Stay the curse."



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

Reply via email to