davfs kernoops can't mount partition as user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
davfs2 (Debian) |
Fix Released
|
Unknown
|
|||
davfs2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
kerneloops (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
Undecided
|
Unassigned | ||
Maverick |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: davfs2
Just upgraded to 9.10 karmic today. When I try to mount a webDAV partition as a non-root user, I get
/sbin/mount.davfs: / is the home directory of user kernoops.
You can't mount into another users home directory
This worked in 9.04 jaunty
my fstab for the partition is
https:/
mount /media/dav produces this error
my davfs2.conf contains
dav_group davfs2
use_locks 0
man mount.davfs2 reads:
When mounted by an ordinary user, the mount point must not lie
but kernoops seems like a strange user with a home directory of root. Can this directory be changed or can mount.davfs be fixed?
Related branches
- Martin Pitt: Pending requested
-
Diff: 170 lines (+95/-32)2 files modifieddebian/changelog (+24/-1)
src/mount_davfs.c (+71/-31)
Changed in davfs2 (Ubuntu): | |
status: | Invalid → Confirmed |
Changed in davfs2 (Ubuntu): | |
status: | Confirmed → In Progress |
tags: | added: patch verification-done |
tags: | removed: verification-done |
Changed in kerneloops (Ubuntu): | |
status: | New → Invalid |
Changed in kerneloops (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in kerneloops (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in davfs2 (Debian): | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in davfs2 (Debian): | |
status: | Unknown → New |
Changed in davfs2 (Debian): | |
status: | New → Fix Released |
Changed in davfs2 (Ubuntu Lucid): | |
status: | Triaged → Invalid |
yes, this is a problem. until there is a legitimate fix I'm going to do without the oops tracker:
apt-get remove kerneloops-daemon
perl -ni -e 'print unless /kernoops/' /etc/passwd
I could maybe see this being a bug of kerneloops-daemon since / is not really a home directory in the traditional sense, but on the other hand davfs2 policy is not ideal since there are many unusual but technically possible assignments of home directories. I would rather see davfs2 restrict mounting in a better way, maybe only on directories that the user has write permission on regardless of where it is in the filesystem.