1 |
Dnia 20 lipca 2017 18:15:00 CEST, Thomas Deutschmann <whissi@g.o> napisał(a): |
2 |
>Hi, |
3 |
> |
4 |
>keep in mind that when installing a binpkg, src_* functions are |
5 |
>skipped, |
6 |
>see https://devmanual.gentoo.org/ebuild-writing/functions/ |
7 |
> |
8 |
>So when you are doing anything with the actual user, you have to do |
9 |
>that |
10 |
>in a pkg_* function. |
11 |
> |
12 |
>In case of "exeopts", if you do something like |
13 |
> |
14 |
> exeopts -m 6710 -g plgudev |
15 |
> |
16 |
>in any src_* function, the created image will use the GID/UIDs from the |
17 |
>system used to create the binpkg. This is probably your problem... |
18 |
> |
19 |
>Make sure to adjust permissions in pkg_* functions! |
20 |
|
21 |
No. This is entirely wrong and insane. Tar stores user and group names, and restores them correctly. |
22 |
|
23 |
|
24 |
-- |
25 |
Best regards, |
26 |
Michał Górny (by phone) |