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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: John Darrington <john <at> darrington.wattle.id.au>
Subject: bug#15890: closed (Re: bug#15890: Please provide a way to delete
 old build directories.)
Date: Wed, 25 Jan 2017 10:57:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#15890: Please provide a way to delete old build directories.

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 15890 <at> debbugs.gnu.org.

-- 
15890: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15890
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: John Darrington <john <at> darrington.wattle.id.au>
Cc: 15890-done <at> debbugs.gnu.org
Subject: Re: bug#15890: Please provide a way to delete old build directories.
Date: Wed, 25 Jan 2017 11:56:05 +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.

This was fixed by Hartmut in commit
2608e40988ba8cf51723fe0d21bdedf6b3997c9c.

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: John Darrington <john <at> darrington.wattle.id.au>
To: bug-guix <at> gnu.org
Subject: Please provide a way to delete old build directories.
Date: Thu, 14 Nov 2013 09:14:54 +0100
[Message part 4 (text/plain, inline)]
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.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

[signature.asc (application/pgp-signature, inline)]

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.