From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: emacs, ansi-term, sudo Date: Sat, 23 Nov 2019 18:51:36 +0200 Message-ID: <20191123165136.GA1124@E5400> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33625) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYYeH-00061w-CF for help-guix@gnu.org; Sat, 23 Nov 2019 11:52:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYYeG-0005sP-AS for help-guix@gnu.org; Sat, 23 Nov 2019 11:52:41 -0500 Received: from flashner.co.il ([178.62.234.194]:49734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iYYeG-0005Uc-3x for help-guix@gnu.org; Sat, 23 Nov 2019 11:52:40 -0500 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: rndd@tuta.io Cc: Help Guix --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > " > =C2=A0 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. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl3ZY5cACgkQQarn3Mo9 g1HeXw/+KRaNY15hSiix5Ilta4hcEBdwDnx41pQXEeyEJ3iwWzEkvDMgFuP9mkmp ycXN+4PmZ3FMBOHBKQWrzXRuwTEHpNei9YjZyXDn1aTH/oNNLz1ZU/w4GWCyDhXs LDlu4ZO+wbp5Atq5FIUWL151SlmgDSfvoNLDsG10pQ/g5wFhATI8umz3mB5Ydgu9 fuXFhXAshCUm2bBDhsYUSpyRqOb76mbkZ3gjQ7KD4p/GfL/Z+KUGwb4Utm2aIi3o pvEJf7OKKg+fcUlqVH1Uy2fytvD9mb7cAAXdV0C7G7yvacpFFBtlQlXgZSQRqAwI 6gd+CqE3Q0L65P9EOR+rzfFWkob2csVCz0FYCOLrivE5gCf9HOzyqxhgtTlATLLu 2SPyyHSEnKJ7dAyHoN0PwlSF3FRMcBNei4WEtzpn003Wna5C9vGMailyxXJS2+qt m0WJ8BiXULkQlyWvyfseMp2cAV9wEVGrR14Ab9zpuESHBCaqYYLfXvGDgav7k6u/ 5YULt/Q3R0S9AuYK4lJIrMyXj+9yxSW0vb0ofbLu0HIuEf6gL0Y5Rc9xnb4N1uN0 tbwdozQg+KC6o9TvsMS3J2M+Mrlb2/Jd/Yyvw1m2hzpWhMfrUg6+8YMPKl8D+IUZ rYPNEJZQ9vTJqeh8Z37JvJhsjhHvRNm55sF46xsoc8jPpl7iZWE= =Co1j -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--