Walter Franzini <[email protected]> skribis:

> On Mon, Oct 14 2013, Ludovic Courtès wrote:
>
> [...]
>
>>> 3. running guix gc as root empties /etc (broken symlinks)
>>> 4. running guix gc as guest (!) empties /etc (broken symlinks)
>>
>> A bug: I forgot to register them as GC roots (see gnu/system/vm.scm.)
>
> Ok for the bug about GC roots, but I expected a 'guest' not to be able
> to alter the system state (/etc).

Unprivileged users can access the store via the daemon.  Notably, they
can run the GC.

The GC only ever deletes files that are no longer referenced.  These
/etc files were clearly still referenced, but the GC just didn’t know
about it.

Ludo’.

Reply via email to