Gentoo Archives: gentoo-dev

From: Daniel Robbins <drobbins@g.o>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] again: files w/o user/group
Date: Sun, 26 Aug 2001 17:54:13
Message-Id: 20010826175413.H13163@cvs.gentoo.org
In Reply to: [gentoo-dev] again: files w/o user/group by Peter Kadau
1 On Mon, Aug 27, 2001 at 12:59:34AM +0200, Peter Kadau wrote:
2
3 > while i was at this wvdial- and owner-stuff, i looked for files with numeric
4 > user/group-id only. i ran the following:
5 >
6 > find / -nouser -or -nogroup 2>/dev/null | egrep -v '^/tmp/portage/.*' | \
7 > xargs ls -dl
8 >
9 > (maybe you wanna try that on your box as well ;-) the output is quite large,
10 > including /usr/lib/python2.0/* any recommendations how to fix that ?
11
12 Yes. I just released Portage 1.6.1 which now extracts archives with the
13 --no-same-owner option. This option ensures that all extracted files are owned
14 by root and should solve these problems in 99.9% of the cases. The problem is
15 caused by flaky Makefiles or ebuilds that cp -a files from the sources to ${D}
16 without checking perms. The source perms should now have reasonable defaults;
17 root ownership and a umask of 022. The portage sources should show up on
18 ibiblio in an hour or so. For some reason, someone keeps on updating our
19 HOWTOs like every few days, resulting in a huge amount of (imho wasted)
20 download/upload stress on cvs.gentoo.org.
21
22 Best Regards,
23
24 --
25 Daniel Robbins <drobbins@g.o>
26 Chief Architect/President http://www.gentoo.org
27 Gentoo Technologies, Inc.