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 EEC28138334 for ; Sun, 4 Aug 2019 19:40:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 698A8E097A; Sun, 4 Aug 2019 19:40:55 +0000 (UTC) Received: from mx2.mailbox.org (mx2.mailbox.org [80.241.60.215]) (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 119AFE0943 for ; Sun, 4 Aug 2019 19:40:54 +0000 (UTC) Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 9BD28A0016 for ; Sun, 4 Aug 2019 21:40:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kostecki.com; h= content-transfer-encoding:content-type:content-type:mime-version :reply-to:references:in-reply-to:message-id:date:date:subject :subject:from:from:received; s=dkim; t=1564947652; bh=FVHDdywFL5 7U0b+Tcnvoa1FYldpwniYoUop5gZ7gXwQ=; b=sxX+30TbIo9ci9rBoiFK/LBMBz WYSQ+mHnR+M6+yUL9q0KV00qWzbSXXyJLsS9p14glolZRZPIOvGDJ1+avuuogvVm xgVz3RKaLCJI8e07VB4EP1cE8mjLm5ZkaZ/pamqKtEYISTya5N7jGpKNzgyDP3CF ZiJ2Bt/e15b2A2pjue8AqUDCDrvzduFj3wDCYL9GbJRi1LarboP0ztsl/VBCDe5N 1G/k/CJH7cBAWRkdmaF0ExSrwmncW29DxHX1rLBpifAHu4iAxAMDfVvGkPyADGsC 8qdF2N8NV5oNYzFDgptlSkRfBihDxNm3BnGXei8araYqeIIyN3zCJSAzPuoavTUK 3LskWkbf+mcqv4rxawluXWQ1cOBjVDGBGgtX+giT00qnavX9VU14KlbgoqB9H2ba SFYbxKTGzcxOUyb+9OFMDHY9LzZv8JSwGIrtpPxMTuD3P+w3aolQQ+p+FSYcMDqg +ArHzMUuF1Z0Awp3CesncvZOfoM0rXYRtDYSCYOI5Y+frfSzKC6tnpOOSV8DpCd5 47M0LgQm6V9bxIrP2o+byWAdcMCJDQsefZxpudG+iWY+HpmT1KAeYO+bN3ar6kFU 6/TAANr4I6upKD66NWuCtZkhu+AKKD2kmXVhpU4evgBuP/kN0opnezdGJOTuFg8x Q07G8EqJxvU0ZNwZ8= X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id 71cRG0MG6Uay for ; Sun, 4 Aug 2019 21:40:52 +0200 (CEST) From: "Conrad Kostecki" To: gentoo-dev@lists.gentoo.org Subject: Re[2]: [gentoo-dev] [PATCH 2/2] acct-user/minecraft: New user for games-server/minecraft-server Date: Sun, 04 Aug 2019 19:40:31 +0000 Message-Id: In-Reply-To: <65ffc19f-de88-d07c-2fad-f98ec52baf3a@gentoo.org> References: <20190804180726.24301-1-conrad@kostecki.com> <20190804180726.24301-2-conrad@kostecki.com> <65ffc19f-de88-d07c-2fad-f98ec52baf3a@gentoo.org> 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 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d6671895-a876-40cb-8a55-f84a009c8bf6 X-Archives-Hash: 2abfbd37f7fe87e5bdbbd676dd0b277d Am 04.08.2019 20:54:07, "Michael Orlitzky" schrieb: >On 8/4/19 2:07 PM, Conrad Kostecki wrote: >You don't have to set ACCT_USER_HOME_OWNER here. That ownership is the >common case, so the eclass will do the right thing for you and set it by >default. From acct-user.eclass: > > if [[ ${ACCT_USER_HOME} !=3D /dev/null ]]; then > # default ownership to user:group > if [[ -z ${ACCT_USER_HOME_OWNER} ]]; then > ACCT_USER_HOME_OWNER=3D${ACCT_USER_NAME}:${ACCT_USER_GROUPS[0]} > fi > fowners "${ACCT_USER_HOME_OWNER}" "${ACCT_USER_HOME}" > fperms "${ACCT_USER_HOME_PERMS}" "${ACCT_USER_HOME}" > fi > Thanks! Updated. >