[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23970: colordiff glitch
From: |
Ludovic Courtès |
Subject: |
bug#23970: colordiff glitch |
Date: |
Wed, 13 Jul 2016 23:39:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello,
Vincent Legoll <address@hidden> 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/colordiffrc
> chown: invalid user: ‘root.root’
> Makefile:24: recipe for target 'install' failed
> make: [install] Error 1 (ignored)
> chmod 644
> /gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/colordiffrc
> phase `install' succeeded after 0.1 seconds
>
> But it looks like it is harmless (at least from the guix install PoV)
It’s indeed harmless and fine.
> address@hidden ~/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
>
> address@hidden /tmp# chown root.root /gnu/store/*colordiff*/etc/*
> chown: changing ownership of
> ‘/gnu/store/gc9vqsz0jzylcdsik0hmnghiff1kf3am-colordiff-1.0.16/etc/colordiffrc’:
> 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 ‘guixbuild’ is innocuous.
I hope this clarifies things!
Ludo’.