From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: System configuration, ~/.profile, custom path etc. Date: Mon, 16 Mar 2015 21:48:01 +0100 Message-ID: <87d248sm7y.fsf@gnu.org> References: <20150316184838.GD17577@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXbvm-0001OX-CT for guix-devel@gnu.org; Mon, 16 Mar 2015 16:48:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXbvh-00017Q-9w for guix-devel@gnu.org; Mon, 16 Mar 2015 16:48:10 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXbvh-00017M-6e for guix-devel@gnu.org; Mon, 16 Mar 2015 16:48:05 -0400 In-Reply-To: (=?utf-8?B?Ig==?= =?utf-8?B?55m944GE54aK77yg55u45pKy6YGTIidz?= message of "Mon, 16 Mar 2015 20:01:09 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?55m944GE54aK77yg55u45pKy6YGT?= Cc: guix-devel@gnu.org =E7=99=BD=E3=81=84=E7=86=8A=EF=BC=A0=E7=9B=B8=E6=92=B2=E9=81=93 skribis: > The .bashrc created after install is readonly by default. I understand > I can chmod it and change it, but I thought the reason for this is > exactly that it is the idea of Guix to modify it via the skeleton > pairs in sysconfig and not edit it directly. > > Is this not so? No, it=E2=80=99s just an accident due to =E2=80=98useradd=E2=80=99 preservi= ng the skeleton=E2=80=99s permission bits. The user=E2=80=99s dot files can be modified as they see = fit; they are not managed at all by Guix. But that these files are created read-only is really a bug. useradd(8) doesn=E2=80=99t seem to have an option to change the permission bits, so we= may have to iterate over all the dot files after the useradd invocation to change their permissions. Better ideas? Thanks, Ludo=E2=80=99.