[PATCH] Re: Question about adduser in Busybox

Denys Vlasenko vda.linux at googlemail.com
Sat Jan 9 17:09:34 UTC 2010


On Saturday 09 January 2010 15:37, Tito wrote:
> can you please test if the attached patch fixes it for you.
> 
> --- loginutils/adduser_orig.c   2010-01-09 15:33:52.000000000 +0100
> +++ loginutils/adduser.c        2010-01-09 15:33:17.000000000 +0100
> @@ -190,7 +190,7 @@
>         /* add to group */
>         /* addgroup should be responsible for dealing w/ gshadow */
>         /* if using a pre-existing group, don't create one */
> -       if (!usegroup)
> +       if (usegroup)
>                 addgroup_wrapper(&pw);
> 
>         /* clear the umask for this process so it doesn't

Applied as it is obviosly correct. thanks!
--
vda


More information about the busybox mailing list