Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 188197

Summary: net-fs/davfs2-1.2.2 dont use group users and does not allow mounting in nobody's home
Product: Gentoo Linux Reporter: Thomas Jäger <thomas.jaeger>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: thomas.jaeger
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Jäger 2007-08-09 05:09:33 UTC
When updating net-fs/davfs2-1.1.4 to net-fs/davfs2-1.2.2 the default configuration expects a user davfs2 and group davfs2 is existing. The ebuild isnt creating this user/group.

After changing the configuration /etc/davfs2/davfs2.conf to 

# General Options
# ---------------
dav_user        root            # system wide config file only
dav_group       users            # system wide config file only

I'm able to mount for example the /etc/fstab entry

# network drives
https://mediacenter.gmx.net  /mnt/gmx   davfs   noauto,user     0 0

with the root user.
When trying to mount this network share with an normal user (belonging to group users) i got 

[user] mount /mnt/gmx
/sbin/mount.davfs: / is the home directory of user nobody.
You can't mount into another users home directory

(see bug report 156591)



Reproducible: Always
Comment 1 Thomas Jäger 2007-08-09 05:14:28 UTC
# emerge --info

Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 09 Aug 2007 00:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc //usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks maketest metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.mirror.solnet.ch http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/gentoo-de /usr/portage/local/thj"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 berkdb bitmap-fonts bluetooth bzip2 cairo cddb cdparanoia cdr cgi chroot cli cracklib crypt ctype cups curl dbus dedicated dga dri dvb dvd dvdr dvdread eds encode esd exif expat fastcgi ffmpeg firefox flac foomaticdb gd gdbm geoip gif gimp gnome gnutls gphoto2 gpm gstreamer gtk hal iconv imagemagick imap java jpeg jpeg2k lame lcms lm_sensors mad mbox midi mikmod mmx mmxext mp3 mpeg mudflap mysql nautilus ncurses nls nntp nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png ppds pppd python quicktime readline reflection samba sasl sdl session spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis wmf x264 xattr xcb xinetd xml xorg xpm xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="directory fuji ptp2 template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev v4l vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-09 07:04:48 UTC

*** This bug has been marked as a duplicate of bug 156591 ***