From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: *** X-Spam-Status: No, score=3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DMARC_REJECT,FORGED_YAHOO_RCVD,FREEMAIL_FROM,MAILING_LIST_MULTI, RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=4.0.0 Received: from uranus.u235.eyep.net (unknown [194.90.113.98]) by chiba.3jane.net (Postfix) with SMTP id CCA7F2374F for ; Thu, 13 Dec 2001 06:43:17 -0600 (CST) Received: (qmail 4622 invoked by uid 1000); 13 Dec 2001 12:43:00 -0000 From: Vitaly Kushneriuk To: Gentoo-dev Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 13 Dec 2001 14:43:00 +0200 Message-Id: <1008247380.10992.9.camel@uranus.u235.eyep.net> Mime-Version: 1.0 Subject: [gentoo-dev] file ownership (bug?) Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: b42599cf-84d9-459b-85eb-1ea38a7fe7a5 X-Archives-Hash: e0d3c6cfb629793c1347a2541cd52a62 Greets. What is the right way of making ebuild that produces files owned by a user, that might not exist on the destination machine. There should be groupadd in install(), to create the user on build machine. I can also put it in pre_install to create the user on the target machine(I mean tbz2 merge). The problem is that emerge uses UID and not user name. So if created user will have different UID, files will get wrong owner. Should it be fixed? TIA