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 ED8EA138334 for ; Wed, 14 Aug 2019 21:41:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8CB0E0829; Wed, 14 Aug 2019 21:41:15 +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 66227E07FA for ; Wed, 14 Aug 2019 21:41:15 +0000 (UTC) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 241F7349B73 for ; Wed, 14 Aug 2019 21:41:14 +0000 (UTC) Received: by mail-ot1-f43.google.com with SMTP id o101so1510408ota.8 for ; Wed, 14 Aug 2019 14:41:14 -0700 (PDT) X-Gm-Message-State: APjAAAWKeDupX139g8l/J8kDt2f39shk9ik8g3ShA0tID9b3fqwXodNB rjknv9FYSxoA84A+wlf97ItzcKnmp11CH0WNeqk= X-Google-Smtp-Source: APXvYqwtm01kHBWTaYPEqJ68/5QfH1ObYNdwNfA29NAGs/TZyB9EFq0nPaYo3RG+kKE7E8Q7Y7Ezs0MmNgeCE+Ra1Oo= X-Received: by 2002:a6b:b748:: with SMTP id h69mr2180524iof.30.1565818872197; Wed, 14 Aug 2019 14:41:12 -0700 (PDT) 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 References: <20190814211400.58175-1-floppym@gentoo.org> <15ee5b1e-a171-c530-3973-ac5ca5a98a04@gentoo.org> In-Reply-To: <15ee5b1e-a171-c530-3973-ac5ca5a98a04@gentoo.org> From: Mike Gilbert Date: Wed, 14 Aug 2019 17:41:00 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: handle missing path in preinst To: Gentoo Dev Content-Type: multipart/alternative; boundary="000000000000a905d705901a9d66" X-Archives-Salt: a66f7431-c746-4464-b2a9-66802f354704 X-Archives-Hash: fcd42ee60f0b8c328ce0dbe168f53541 --000000000000a905d705901a9d66 Content-Type: text/plain; charset="UTF-8" On Wed, Aug 14, 2019, 5:29 PM Michael Orlitzky wrote: > 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.) > Agreed. Please file a bug about this. > --000000000000a905d705901a9d66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Aug 14, 2019, 5:29 PM Michael Orlitzky <mjo@gentoo.org> wrote:
On 8/14/19 5:14 PM, Mike Gilbert wrote:
> Closes: https://bugs.gentoo.org/691478
> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
> ---
>=C2=A0 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<= br> 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/ebuil= d.5,
I'll eat my foot.)

Agreed. Please file a bug about this.
--000000000000a905d705901a9d66--