From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#22587: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?edit=E2=80=99?= & =?UTF-8?Q?=E2=80=98M-x?= guix-edit' typo, rename, & mode change Date: Sun, 07 Feb 2016 14:22:36 -0500 Message-ID: <87y4awiav7.fsf@gmail.com> References: <8737t4jt1j.fsf@gmail.com> <20160207185812.GA24466@debian> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSUvL-00015M-LF for bug-guix@gnu.org; Sun, 07 Feb 2016 14:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSUvG-0008FY-LL for bug-guix@gnu.org; Sun, 07 Feb 2016 14:23:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSUvG-0008FU-ID for bug-guix@gnu.org; Sun, 07 Feb 2016 14:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSUvG-0005z1-EU for bug-guix@gnu.org; Sun, 07 Feb 2016 14:23:02 -0500 In-Reply-To: <8737t4jt1j.fsf@gmail.com> Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSUup-0000zp-DD for bug-guix@gnu.org; Sun, 07 Feb 2016 14:22:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSUuk-0007xc-D4 for bug-guix@gnu.org; Sun, 07 Feb 2016 14:22:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:40318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSUuk-0007wr-6E for bug-guix@gnu.org; Sun, 07 Feb 2016 14:22:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSUui-0006UA-0o for bug-guix@gnu.org; Sun, 07 Feb 2016 20:22:28 +0100 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Feb 2016 20:22:28 +0100 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Feb 2016 20:22:28 +0100 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22587@debbugs.gnu.org Andreas Enge writes: > On Sun, Feb 07, 2016 at 01:04:40PM -0500, myglc2 wrote: >> TYPO: >> "edit" (last line above) should be replaced with "view", "inspect", or >> "examine". >> RENAME: >> Calling these functions 'guix edit' and 'M-x guix-edit' implies that the >> user will be able to modify the recipe, but this is not actually the >> case. > > This depends on the user's rights. In a global installation, root is allowed > to modify. In a git checkout, one would need to do "./pre-inst-env guix edit" > like with all other guix commands. > > Andreas Of course, running as root, 'guix edit' opens the recipe read-only and from there, root can do whatever he/she likes. But, AIUI, this goes against the guix concept of an immutable store. To describe and name this function to imply that one could/should edit recipes in the store based on the "corner case" of root having the ultimable ability to do so seems counter to how you would want to encourage even a root user to proceed.