Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] f{owners,perms}: Warn when using relative path
Date: Mon, 17 Sep 2018 17:10:25
Message-Id: 1537204217.857.0.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] f{owners,perms}: Warn when using relative path by Michael Orlitzky
1 On Mon, 2018-09-17 at 12:42 -0400, Michael Orlitzky wrote:
2 > On 09/17/2018 02:52 AM, Michał Górny wrote:
3 > >
4 > > --- a/bin/ebuild-helpers/fowners
5 > > +++ b/bin/ebuild-helpers/fowners
6 > > ...
7 > > + eqawarn "This is unsupported. Please use 'chmod' when you need to work on files"
8 >
9 > This one should be 'chown' instead of 'chmod'.
10
11 Good catch, thanks!
12
13 >
14 > (Calling chown on the live filesystem is often also a dangerous mistake,
15 > but this probably isn't the place to fuss about it.)
16 >
17
18 I think this is more likely to be triggered on chown-ing stuff inside
19 ${S}.
20
21 --
22 Best regards,
23 Michał Górny

Attachments

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