unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: rndd@tuta.io
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: emacs, ansi-term, sudo
Date: Sat, 23 Nov 2019 18:51:36 +0200	[thread overview]
Message-ID: <20191123165136.GA1124@E5400> (raw)
In-Reply-To: <LuNelnP--3-1@tuta.io>

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

On Sat, Nov 23, 2019 at 03:29:41PM +0100, rndd@tuta.io wrote:
> hi, have problems using emacs in guixsd. when i run ansi-term and try to use sudo i get this error:
> "
>   sudo: /run/current-system/profile/bin/sudo must be owned by uid 0 and have the setuid bit set
> "

What's the output of 'echo $PATH'? you need to have /run/setuid-programs
before /run/current-system/profile/bin to use sudo with setuid
privileges.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2019-11-23 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-23 14:29 emacs, ansi-term, sudo rndd
2019-11-23 14:49 ` Tobias Geerinckx-Rice
2019-11-23 17:56   ` Ricardo Wurmus
2019-11-23 18:57     ` Tobias Geerinckx-Rice
2019-11-23 16:51 ` Efraim Flashner [this message]
2019-11-23 17:09   ` Tobias Geerinckx-Rice
2019-11-23 17:44     ` Efraim Flashner

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=20191123165136.GA1124@E5400 \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=rndd@tuta.io \
    /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).