program not setuid / no user in group users ?!? still there
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
davfs2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
after setting up a webdav entry in /etc/fstab, with the "user" option, a user cannot(,but should be able to) mount that mountpoint because of the following error message :
/usr/lib/
and that is indeed the case
ls -l /usr/lib/
-rwxr-xr-x 1 root root 37392 2006-03-27 15:47 /usr/lib/
should be
-rwsr-sr-x 1 root root 37392 2006-03-27 15:47 /usr/lib/
or not ?
Additionally the user has to be member of the group users which has no members at least on my pc...
when the user is added to the group users the mount of webDAV shares works
noone done webdav on actual version of Dapper yet ?
I've read about that but it's still not fixed ?!?
description: | updated |
Changed in davfs2: | |
status: | Unconfirmed → Confirmed |
I am on current edgy and just experienced the same situation.
(jasonr@luso:~)% mount /media/myfiles
/sbin/mount.davfs: Program is not setuid root.
/usr/share/ doc/davfs2/ README. Debian states:
davfs2 for Debian
------------------
Allowing a normal user to mount webdav resources ------- ------- ------- ------- ------- ------ mount.davfs- <your kernel version> webdav. site.com/ path /mnt davfs rw,users,noauto 0 0
-------
If you want to allow non-root users to mount a davfs file system, you have to set a few things:
- The suid bit for the corresponding binary:
# chmod u+s /usr/lib/
- Add to the group 'users' all the users that you want to mount dav file systems:
# addgroup <username> users
- Add the following line in the /etc/fstab file with the option 'users'
http://
which is fine, but "chmod u+s /usr/lib/ mount.davfs- <your kernel version>" is not correct. Instead, /sbin/mount.davfs2 should be setuid root.