unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: SeerLite <seerlite@disroot.org>
To: help-guix@gnu.org, "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
Subject: Re: open config.scm with sudo and gedit or emacs
Date: Sun, 12 Mar 2023 06:33:00 -0300	[thread overview]
Message-ID: <35FEECEC-3601-4089-8EEF-0D201E8559F0@disroot.org> (raw)
In-Reply-To: <87a60i4fde.fsf@enceladus.provocation.me>

Hi!

On March 12, 2023 4:07:25 AM GMT-03:00, "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com> wrote:
>SeerLite <seerlite@disroot.org> writes:
>
>>
>>     sudo guix system reconfigure ~/.config/guix/system-config.scm
>
>sudo -E ...
>

No, that will create root-owned files in ~/.cache. I always get trouble using sudo -E because programs tend to create root-owned files under ~.

There's no need for -E as guix doesn't need any environment variable from the user to reconfigure, everything is self contained in the `guix` binary and the system configuration file.

SeerLite


  reply	other threads:[~2023-03-12  9:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-11 10:33 open config.scm with sudo and gedit or emacs Gottfried
2023-03-11 10:57 ` Thanos Apollo
2023-03-11 11:03 ` Bruno Victal
2023-03-11 17:05 ` Sergiu Ivanov
2023-03-11 18:58   ` Kyle
2023-03-11 23:42   ` SeerLite
2023-03-12  7:07     ` Boris A. Dekshteyn
2023-03-12  9:33       ` SeerLite [this message]
2023-03-12 11:00     ` Sergiu Ivanov
2023-03-12 18:13       ` Luis Felipe
2023-03-12 19:05         ` Sergiu Ivanov
2023-03-12 13:27     ` Felix Lechner via

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=35FEECEC-3601-4089-8EEF-0D201E8559F0@disroot.org \
    --to=seerlite@disroot.org \
    --cc=boris.dekshteyn@gmail.com \
    --cc=help-guix@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).