1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
3 |
|
4 |
On 20/07/12 06:18 AM, Maxim Kammerer wrote: |
5 |
> On Fri, Jul 20, 2012 at 11:32 AM, Michael Weber <xmw@g.o> |
6 |
> wrote: |
7 |
>> is it intentional behavior, that home directories created by |
8 |
>> enewuser belong to $user:root (or pwd group) instead of |
9 |
>> $user:$group ? |
10 |
> |
11 |
> This seems like the result of a hasty bugfix to me: |
12 |
> https://bugs.gentoo.org/23627 |
13 |
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.36&r2=1.37 |
14 |
> |
15 |
> Wrong group ownership shouldn't matter much, since ebuilds should |
16 |
> probably explicitly set home directory ownership / permissions |
17 |
> with fowners / fperms anyway (in src_install()). However, that |
18 |
> doesn't work due to: https://bugs.gentoo.org/396153 |
19 |
> |
20 |
> Having a switch for enewuser to skip creating home directory would |
21 |
> solve the issue for majority of usecases, but a request I opened |
22 |
> was resolved as a duplicate of the bug above (which I don't expect |
23 |
> to be resolved anytime soon): https://bugs.gentoo.org/395961 |
24 |
> |
25 |
|
26 |
enewuser won't create a home directory if you don't specify one (ie |
27 |
it's set to /dev/null or it's unset). Also, you can use 'esethome' to |
28 |
set the home directory to an existing directory. With both of these |
29 |
options I don't think that a --do-not-create-homedir option is necessary. |
30 |
|
31 |
|
32 |
-----BEGIN PGP SIGNATURE----- |
33 |
Version: GnuPG v2.0.19 (GNU/Linux) |
34 |
|
35 |
iF4EAREIAAYFAlAJd+YACgkQ2ugaI38ACPDmLgD8C/CifrMost6b5cYVZn3R+FnU |
36 |
K3Qf6Tp85S/gSPT7fC0A/ikEDaKGQxqainhzWRfl0fyyb6MSRZphzcz+uwb+Y/1t |
37 |
=yFDr |
38 |
-----END PGP SIGNATURE----- |