From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 566D6138334 for ; Mon, 17 Sep 2018 16:42:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 266F0E0A92; Mon, 17 Sep 2018 16:42:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EAD0AE0A92 for ; Mon, 17 Sep 2018 16:42:16 +0000 (UTC) Received: from [192.168.1.100] (c-98-218-46-55.hsd1.md.comcast.net [98.218.46.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id 981BA335C58 for ; Mon, 17 Sep 2018 16:42:12 +0000 (UTC) Subject: Re: [gentoo-portage-dev] [PATCH] f{owners,perms}: Warn when using relative path To: gentoo-portage-dev@lists.gentoo.org References: <20180917065233.14030-1-mgorny@gentoo.org> From: Michael Orlitzky Message-ID: <3c1a6b59-e9e0-fa7f-99a1-6950b891cf2f@gentoo.org> Date: Mon, 17 Sep 2018 12:42:06 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20180917065233.14030-1-mgorny@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Archives-Salt: 50a87884-3cb9-4338-98ed-30f000557e93 X-Archives-Hash: 1176eb811aa184502d3e5425bbd6e8b9 On 09/17/2018 02:52 AM, Michał Górny wrote: > > --- a/bin/ebuild-helpers/fowners > +++ b/bin/ebuild-helpers/fowners > ... > + eqawarn "This is unsupported. Please use 'chmod' when you need to work on files" This one should be 'chown' instead of 'chmod'. (Calling chown on the live filesystem is often also a dangerous mistake, but this probably isn't the place to fuss about it.)