Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119708 - Portage sets incorrect group ownership on tools installed to /bin, /sbin, /usr/bin
Summary: Portage sets incorrect group ownership on tools installed to /bin, /sbin, /us...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 10:29 UTC by Nick Dimiduk (RETIRED)
Modified: 2006-04-12 10:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Dimiduk (RETIRED) gentoo-dev 2006-01-20 10:29:46 UTC
Many tools in /bin, /sbin, and /usr/bin belong to the group 'portage' (250) rather than group 0.  Disk Utility.app complains about this problem during a "Verify/Repair Disk Permissions" action.  The following tools are listed:

...
Group differs on ./bin/[, should be 0, group is 250
Group differs on ./bin/cat, should be 0, group is 250
Group differs on ./bin/chmod, should be 0, group is 250
Group differs on ./bin/cp, should be 0, group is 250
Group differs on ./bin/date, should be 0, group is 250
Group differs on ./bin/dd, should be 0, group is 250
Group differs on ./bin/df, should be 5, group is 250
Group differs on ./bin/echo, should be 0, group is 250
Group differs on ./bin/expr, should be 0, group is 250
Group differs on ./bin/link, should be 0, group is 250
Group differs on ./bin/ln, should be 0, group is 250
Group differs on ./bin/ls, should be 0, group is 250
Group differs on ./bin/mkdir, should be 0, group is 250
Group differs on ./bin/mv, should be 0, group is 250
Group differs on ./bin/pwd, should be 0, group is 250
Group differs on ./bin/rm, should be 0, group is 250
Group differs on ./bin/rmdir, should be 0, group is 250
Group differs on ./bin/sleep, should be 0, group is 250
Group differs on ./bin/stty, should be 0, group is 250
Group differs on ./bin/sync, should be 0, group is 250
Group differs on ./bin/test, should be 0, group is 250
Group differs on ./bin/unlink, should be 0, group is 250
...
Group differs on ./sbin/mknod, should be 0, group is 250
Group differs on ./usr/bin/basename, should be 0, group is 250
Group differs on ./usr/bin/chgrp, should be 0, group is 250
Group differs on ./usr/bin/cksum, should be 0, group is 250
Group differs on ./usr/bin/comm, should be 0, group is 250
Group differs on ./usr/bin/cut, should be 0, group is 250
Group differs on ./usr/bin/dirname, should be 0, group is 250
Group differs on ./usr/bin/du, should be 0, group is 250
Group differs on ./usr/bin/env, should be 0, group is 250
Group differs on ./usr/bin/expand, should be 0, group is 250
Group differs on ./usr/bin/false, should be 0, group is 250
Group differs on ./usr/bin/fmt, should be 0, group is 250
Group differs on ./usr/bin/fold, should be 0, group is 250
Group differs on ./usr/bin/groups, should be 0, group is 250
Group differs on ./usr/bin/head, should be 0, group is 250
Group differs on ./usr/bin/hexdump, should be 0, group is 250
Group differs on ./usr/bin/id, should be 0, group is 250
Group differs on ./usr/bin/install, should be 0, group is 250
Group differs on ./usr/bin/join, should be 0, group is 250
Group differs on ./usr/bin/logname, should be 0, group is 250
Group differs on ./usr/bin/mkfifo, should be 0, group is 250
Group differs on ./usr/bin/nice, should be 0, group is 250
Group differs on ./usr/bin/nohup, should be 0, group is 250
Group differs on ./usr/bin/od, should be 0, group is 250
Group differs on ./usr/bin/paste, should be 0, group is 250
Group differs on ./usr/bin/pr, should be 0, group is 250
Group differs on ./usr/bin/printenv, should be 0, group is 250
Group differs on ./usr/bin/printf, should be 0, group is 250
Group differs on ./usr/bin/readlink, should be 0, group is 250
Group differs on ./usr/bin/sort, should be 0, group is 250
Group differs on ./usr/bin/split, should be 0, group is 250
Group differs on ./usr/bin/stat, should be 0, group is 250
Group differs on ./usr/bin/su, should be 0, group is 250
Group differs on ./usr/bin/sum, should be 0, group is 250
Group differs on ./usr/bin/tail, should be 0, group is 250
Group differs on ./usr/bin/tee, should be 0, group is 250
Group differs on ./usr/bin/touch, should be 0, group is 250
Group differs on ./usr/bin/tr, should be 0, group is 250
Group differs on ./usr/bin/true, should be 0, group is 250
Group differs on ./usr/bin/tsort, should be 0, group is 250
Group differs on ./usr/bin/tty, should be 0, group is 250
Group differs on ./usr/bin/uname, should be 0, group is 250
Group differs on ./usr/bin/unexpand, should be 0, group is 250
Group differs on ./usr/bin/uniq, should be 0, group is 250
Group differs on ./usr/bin/uptime, should be 0, group is 250
Group differs on ./usr/bin/users, should be 0, group is 250
Group differs on ./usr/bin/w, should be 0, group is 250
Group differs on ./usr/bin/wc, should be 0, group is 250
Group differs on ./usr/bin/who, should be 0, group is 250
Group differs on ./usr/bin/whoami, should be 0, group is 250
Group differs on ./usr/bin/yes, should be 0, group is 250
...
Group differs on ./usr/sbin/chown, should be 0, group is 250
Group differs on ./usr/sbin/chroot, should be 0, group is 250

# emerge --info
Portage 2.0.51.22-r3 (default-darwin/macos/10.4, gcc-4.0.1, libsystem-7.1-r0, 8.4.0 Power Macintosh)
=================================================================
System uname: 8.4.0 Power Macintosh powerpc
macos-20041118
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"                                                            
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc bzip2 curl emacs emboss expat libwww nls opengl pcre png ppc-macos python ssl tetex unicode zlib userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2006-01-20 11:17:45 UTC
Normally those files are not installed by portage, unless you disabled collision-protect.  In the latter case you're on the progressive profile.

Closing as invalid, as I think this is not really caused by 'normal' usage... :)
Comment 2 Nick Dimiduk (RETIRED) gentoo-dev 2006-01-20 23:50:28 UTC
I didn't think I was using a progressive profile: profiles/default-darwin/macos/10.4.  Collision-protect is enabled.  Something screwy happened.

Even if I did use a progressive profile, shouldn't the ownership on these files be changed to g:root regardless?  I'll poke this one a bit more and post back if I find anything.