Hello,

Vincent Legoll <vincent.leg...@gmail.com> 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.

> 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
> ‘/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’.



Reply via email to