From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SsAIu-0006Cj-6G for garchives@archives.gentoo.org; Fri, 20 Jul 2012 10:19:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC62EE00C2; Fri, 20 Jul 2012 10:19:09 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 722E3E05FE for ; Fri, 20 Jul 2012 10:18:28 +0000 (UTC) Received: by yenl3 with SMTP id l3so4133485yen.40 for ; Fri, 20 Jul 2012 03:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dee.su; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=V7Lt8+H/p8d4MS2WKeqFZjhi1qUuojNnvsG+4ZLLqHU=; b=WNnXdgZzhhbsjSVwTt/natJn8/fiSGtbLy9zsKcIjgA9NhvL6gezkGHSCLXYNMJDc7 R/1jhFmVV/Nrp95z0wL/d29jc1OJmQf9ZJ73z4JqL2hZQ3K2S534NYZ1o3165QaF3Ceb YtzP49eOV1Mcj5GaZuvmLpKDYC9jfb0By5XtI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=V7Lt8+H/p8d4MS2WKeqFZjhi1qUuojNnvsG+4ZLLqHU=; b=JWCSTfZpIOj59hleSgvA44cY8+IYKXwTJ9azybW6rQI9/LveVnGylBqefH6xacWoR6 tXyLqVD72ekf5KooZJsaMnJ9uaDebgKZoorxXJTl3wB6B/MydZXrcf8QHgNdkhJsxRIu 2d21K4NIyUqkyZd/lEhwG3QbpksPuGLgbOA9ts/pTCHhzOSScfvP7XJdBtbVWTyJH63B j5VTng4LGVFN7oufsNI71xy2M2IOMboAkpTCebEpv1laKrLYbEQ3bUHV/RLDem81DEcj fO5cVB97A59cjuVdbOp0+hvM8WGQrzPMKejl36RsuHZOET5k73mjnm+t3lx/pBdYMav0 5vqA== Received: by 10.50.203.39 with SMTP id kn7mr3878481igc.53.1342779507427; Fri, 20 Jul 2012 03:18:27 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.42.130.69 with HTTP; Fri, 20 Jul 2012 03:18:07 -0700 (PDT) In-Reply-To: <50091796.8080503@gentoo.org> References: <50091796.8080503@gentoo.org> From: Maxim Kammerer Date: Fri, 20 Jul 2012 13:18:07 +0300 Message-ID: Subject: Re: [gentoo-dev] enewuser: home beloning $user:root inset of $user:$group To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQn2K6DQFvFAxH/XjujyOJa4vBX1vvHM4QCWn9TUCIMPzXoqmL4dIFRHCmnFaU+wJ6AoU1kL X-Archives-Salt: 3665fb5f-1c14-46e4-a12e-8fa24cd183d9 X-Archives-Hash: 441b0b84cd004ecb199018746370e880 On Fri, Jul 20, 2012 at 11:32 AM, Michael Weber 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.ecl= ass?r1=3D1.36&r2=3D1.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 --=20 Maxim Kammerer Libert=E9 Linux: http://dee.su/liberte