Gentoo Archives: gentoo-dev

From: Vitaly Kushneriuk <vitaly_kushneriuk@×××××.com>
To: Gentoo-dev <gentoo-dev@g.o>
Subject: [gentoo-dev] file ownership (bug?)
Date: Thu, 13 Dec 2001 06:43:17
Message-Id: 1008247380.10992.9.camel@uranus.u235.eyep.net
1 Greets.
2 What is the right way of making ebuild that produces files
3 owned by a user, that might not exist on the destination machine.
4 There should be groupadd in install(), to create the user on
5 build machine. I can also put it in pre_install to create the user
6 on the target machine(I mean tbz2 merge). The problem
7 is that emerge uses UID and not user name.
8 So if created user will have different UID, files will get wrong owner.
9 Should it be fixed?
10
11 TIA