GNU bug report logs - #15890
Please provide a way to delete old build directories.

Previous Next

Package: guix;

Reported by: John Darrington <john <at> darrington.wattle.id.au>

Date: Thu, 14 Nov 2013 08:16:01 UTC

Severity: wishlist

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #8 received at 15890 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: John Darrington <john <at> darrington.wattle.id.au>
Cc: 15890 <at> debbugs.gnu.org
Subject: Re: bug#15890: Please provide a way to delete old build directories.
Date: Tue, 10 Dec 2013 22:58:51 +0100
John Darrington <john <at> darrington.wattle.id.au> 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.

I agree.  I would go for solution #2.

(Note that this will have to be submitted to the Nix project, since the
C++ code under nix/ is imported from there.)

Ludo’.




This bug report was last modified 8 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.