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 6E9FD138334 for ; Wed, 14 Aug 2019 21:29:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD692E0819; Wed, 14 Aug 2019 21:29:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 66840E0806 for ; Wed, 14 Aug 2019 21:29: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 77D78349B6D for ; Wed, 14 Aug 2019 21:29:15 +0000 (UTC) Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: handle missing path in preinst To: gentoo-dev@lists.gentoo.org References: <20190814211400.58175-1-floppym@gentoo.org> From: Michael Orlitzky Message-ID: <15ee5b1e-a171-c530-3973-ac5ca5a98a04@gentoo.org> Date: Wed, 14 Aug 2019 17:29:10 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <20190814211400.58175-1-floppym@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: a04f41ee-dd32-4fba-a98a-57c0fe19bbd7 X-Archives-Hash: 7bd7704b18bf0022d3accfb6d8c9daf2 On 8/14/19 5:14 PM, Mike Gilbert wrote: > Closes: https://bugs.gentoo.org/691478 > Signed-off-by: Mike Gilbert > --- > eclass/acct-user.eclass | 5 +++++ This is a symptom of another problem. The man user claims /usr/share/man as its home directory, and insists on changing its permissions to root:root 0755. Why? If the default homedir and owner will work, they should be used. We're going to have a mountain of shit on our hands if acct-user packages start claiming random directories as their homes and reset the permissions/ownership on them randomly. (If the "man" user really reads things from e.g. $HOME/man5/ebuild.5, I'll eat my foot.)