Installing any game from portage, the directory "/usr/games/" gets "games:root" as owners, while all other games directories get the right "root:games". Reproducible: Always Steps to Reproduce: 1. unmerge all games 2. delete /usr/games 3. insall a game from portage Actual Results: ls -l /usr/ drwxr-xr-x 5 games root 40 19. Okt 21:47 games Owned by user games, group: root Expected Results: ls -l /usr/ drwxr-xr-x 5 root games 40 19. Okt 21:47 games Owned by user root and group games. Happens on all tested games.
reopen with the output from emerge --info and a list of some of the games you tried.
Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.7 x86_64) ================================================================= System uname: Linux-2.6.28.7-x86_64-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-glibc2.2.5 Timestamp of tree: Sun, 08 Mar 2009 07:45:02 +0000 app-shells/bash: 3.2_p48-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.9 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/berkano /usr/local/layman/Spring /usr/local/layman/java-overlay /usr/local/layman/vmware /usr/local/layman/glc" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cddb cdr cli cmake cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode evo exif exiv2 fam ffmpeg firefox flac gif git hal iconv inotify ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kdeprefix lame ldap libnotify lm_sensors lzma mad matroska midi mikmod mmx mp3 mp4 mpeg mtp mudflap multilib musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pcre pdf png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtsp samba sdl session smp spl sse sse2 sse3 ssl startup-notification subversion svg sysfs threads tiff truetype unicode usb v4l v4l2 vorbis webkit x264 xcb xcomposite xfs xine xinerama xinetd xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
bugzilla.
I can't reproduce this.
Actually, /usr/games is created with the wrong owner and group during games_pkg_setup(): enewuser "${GAMES_USER_DED}" 36 /bin/bash "${GAMES_PREFIX}" "${GAMES_GROUP}" Default values are these: GAMES_PREFIX=/usr/games GAMES_USER_DED=games GAMES_GROUP=games And enewuser() (from user.eclass) does this: mkdir -p "${ROOT}/${ehome}" chown "${euser}" "${ROOT}/${ehome}" chmod 755 "${ROOT}/${ehome}" So indeed /usr/games will end up as games:root. Does the games user need a homedir? Otherwise, enewuser could pass -1 for the respective argument.
Eclass has been removed.