-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 20/07/12 06:18 AM, Maxim Kammerer wrote:
> On Fri, Jul 20, 2012 at 11:32 AM, Michael Weber <x...@gentoo.org>
> wrote:
>> is it intentional behavior, that home directories created by
>> enewuser belong to $user:root (or pwd group) instead of
>> $user:$group ?
> 
> This seems like the result of a hasty bugfix to me: 
> https://bugs.gentoo.org/23627 
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.36&r2=1.37
>
>  Wrong group ownership shouldn't matter much, since ebuilds should 
> probably explicitly set home directory ownership / permissions
> with fowners / fperms anyway (in src_install()). However, that
> doesn't work due to: https://bugs.gentoo.org/396153
> 
> Having a switch for enewuser to skip creating home directory would 
> solve the issue for majority of usecases, but a request I opened
> was resolved as a duplicate of the bug above (which I don't expect
> to be resolved anytime soon): https://bugs.gentoo.org/395961
> 

enewuser won't create a home directory if you don't specify one (ie
it's set to /dev/null or it's unset).  Also, you can use 'esethome' to
set the home directory to an existing directory.  With both of these
options I don't think that a --do-not-create-homedir option is necessary.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iF4EAREIAAYFAlAJd+YACgkQ2ugaI38ACPDmLgD8C/CifrMost6b5cYVZn3R+FnU
K3Qf6Tp85S/gSPT7fC0A/ikEDaKGQxqainhzWRfl0fyyb6MSRZphzcz+uwb+Y/1t
=yFDr
-----END PGP SIGNATURE-----

Reply via email to