Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] permission test
Date: Tue, 18 Oct 2011 18:46:02
Message-Id: 20111018184550.GR843@gentoo.org
In Reply to: Re: [gentoo-alt] permission test by Burcin Erocal
1 On 18-10-2011 20:34:12 +0200, Burcin Erocal wrote:
2 > > > # Now we look for all world writable files.
3 > > > + if [ "${QA_SKIP_WRITABLE-unset}" == unset ] ; then
4 > > > local i
5 > > > for i in $(find "${D}/" -type f -perm -2); do
6 > >
7 > > How would this work, if you changed the D into ED here? Checking
8 > > files outside of our control is indeed not really useful.
9 >
10 > In that context, printing $D gives $PORTAGE_TMP/$CATEGORY/$P/image in
11 > the prefix. Since these are the new files introduced by the ebuild, I
12 > don't think we need to change that line. Note that this is already in
13 > the portage sources and I didn't touch it. :)
14
15 Ok, ED doesn't make a difference here. Can you explain why the host
16 system is making world-writable files? What's its rationale to force
17 that on you? Can't you really not just sanitise that (your umask?)
18
19
20 --
21 Fabian Groffen
22 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-alt] permission test Burcin Erocal <burcin@××××××.org>