From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23970: colordiff glitch Date: Wed, 13 Jul 2016 23:39:31 +0200 Message-ID: <878tx5jjzg.fsf@gnu.org> References: 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]:38519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNRt0-0001Au-RE for bug-guix@gnu.org; Wed, 13 Jul 2016 17:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNRsw-0000bF-QO for bug-guix@gnu.org; Wed, 13 Jul 2016 17:40:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNRsw-0000bB-N0 for bug-guix@gnu.org; Wed, 13 Jul 2016 17:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bNRsw-0000Bs-JU for bug-guix@gnu.org; Wed, 13 Jul 2016 17:40:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Vincent Legoll's message of "Wed, 13 Jul 2016 11:10:04 +0200") 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" To: Vincent Legoll Cc: 23970@debbugs.gnu.org Hello, Vincent Legoll skribis: > during "guix package -i colordiff" I saw this error being reported: > > cp colordiffrc /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.= 16/etc/colordiffrc > chown root.root > /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/colordif= frc > chown: invalid user: =E2=80=98root.root=E2=80=99 > Makefile:24: recipe for target 'install' failed > make: [install] Error 1 (ignored) > chmod 644 /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/et= c/colordiffrc > phase `install' succeeded after 0.1 seconds > > But it looks like it is harmless (at least from the guix install PoV) It=E2=80=99s indeed harmless and fine. > vince@guixsd ~/guix-packages$ l > /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/ > total 4.0K > -r--r--r-- 2 root guixbuild 963 Jan 1 1970 colordiffrc > > This leaks the guixbuild group into /gnu/store, but it is not alone in > doing so... > > If I try to do it manually afterwards, it obviously tell me the FS is R/O > > root@guixsd /tmp# chown root.root /gnu/store/*colordiff*/etc/* > chown: changing ownership of > =E2=80=98/gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc= /colordiffrc=E2=80=99: > Read-only file system Right, /gnu/store is meant to be read-only and manually modifying it voids your warranty. :-) https://www.gnu.org/software/guix/manual/html_node/The-Store.html For this reason, /gnu/store is a read-only bind-mount on GuixSD. That files in /gnu/store have group =E2=80=98guixbuild=E2=80=99 is innocuou= s. I hope this clarifies things! Ludo=E2=80=99.