From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: permission denied: /gnu/store/...guile... Date: Sun, 24 May 2015 00:28:04 +0200 Message-ID: <87mw0vc4jv.fsf@gnu.org> References: <14d70199695.1243810498111.5252599218489536710@elephly.net> <87617knzbm.fsf@netris.org> <87mw0ve5ln.fsf@gnu.org> <878ucfmf8t.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwHtr-0006H7-S8 for guix-devel@gnu.org; Sat, 23 May 2015 18:28:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwHto-0002Zo-Nu for guix-devel@gnu.org; Sat, 23 May 2015 18:28:11 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwHto-0002Zi-KA for guix-devel@gnu.org; Sat, 23 May 2015 18:28:08 -0400 In-Reply-To: <878ucfmf8t.fsf@netris.org> (Mark H. Weaver's message of "Sat, 23 May 2015 12:26:58 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver Cc: guix-devel@gnu.org Mark H Weaver skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Mark H Weaver skribis: [...] > I would suggest using (geteuid) instead. Also, we should set the mode. > In this particular case, if we had changed the owner without also > changing the mode, rekado's system still would have been quite broken. Good points. I have taken these into accounts and committed as 4a35a86. >> I wonder if the activation code shouldn=E2=80=99t systematically do >> (chown "/" 0 0) as well. >> >> Thoughts? > > I'm not sure. Trying to fix individual things during activation that > might have been broken is a slippery slope. We cannot hope to fix > everything that might have been broken using this approach, and on the > other hand we might undo some change that the user made intentionally. Yeah, makes sense to me. Thanks! Ludo=E2=80=99.