all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 白い熊@相撲道 <guix-devel_gnu.org@sumou.com>
Cc: guix-devel@gnu.org
Subject: Re: System configuration, ~/.profile, custom path etc.
Date: Mon, 16 Mar 2015 21:48:01 +0100	[thread overview]
Message-ID: <87d248sm7y.fsf@gnu.org> (raw)
In-Reply-To: <a8f441a8b9b41a4d3a9dfa4e9928d0c6@hcoop.net> ("白い熊@相撲道"'s message of "Mon, 16 Mar 2015 20:01:09 +0100")

白い熊@相撲道 <guix-devel_gnu.org@sumou.com> 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’s just an accident due to ‘useradd’ preserving the skeleton’s
permission bits.  The user’s 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’t 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’.

      reply	other threads:[~2015-03-16 20:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-16 18:20 System configuration, ~/.profile, custom path etc 白い熊@相撲道
2015-03-16 18:48 ` Andreas Enge
2015-03-16 19:01   ` 白い熊@相撲道
2015-03-16 20:48     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d248sm7y.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=guix-devel_gnu.org@sumou.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.