Subject: Re: bug#15890: Please provide a way to delete old build directories.
From: [email-masked] (Ludovic Courtès)
To: John Darrington <[email-masked]>
Cc: [email-masked]
Date: Wed, 25 Jan 2017 11:56:05 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

John Darrington <[email-masked]> skribis:

> When packages are built using guix build --keep-failed the build directories
> are created in /tmp/nix* (as they should be).
>
> But it is impossible to delete these directories without special priviliges.
> The user who called guix build --keep-failed cannot delete them because they
> are owned by guix-builder
>
> Can we please either:
>
> 1. Have a command (or option to guix gc) to remove them ; OR
>
> 2. Arrange for the ownership of such directories to be changed to the calling user, 
>    after the build has finished.

This was fixed by Hartmut in commit
2608e40988ba8cf51723fe0d21bdedf6b3997c9c.

Ludo’.