From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: bug#15890: Please provide a way to delete old build directories. Date: Thu, 14 Nov 2013 09:14:54 +0100 Message-ID: <20131114081454.GA11819@jocasta.intra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgs5v-00041u-QS for bug-guix@gnu.org; Thu, 14 Nov 2013 03:16:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgs5r-000524-5O for bug-guix@gnu.org; Thu, 14 Nov 2013 03:16:07 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:37320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgs5r-00051x-2e for bug-guix@gnu.org; Thu, 14 Nov 2013 03:16:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vgs5q-0002Gy-8S for bug-guix@gnu.org; Thu, 14 Nov 2013 03:16:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgs4t-0002uQ-I9 for bug-guix@gnu.org; Thu, 14 Nov 2013 03:15:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgs4o-0004d0-Kq for bug-guix@gnu.org; Thu, 14 Nov 2013 03:15:03 -0500 Received: from de.cellform.com ([88.217.224.109]:33761 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgs4o-0004ce-8U for bug-guix@gnu.org; Thu, 14 Nov 2013 03:14:58 -0500 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.14.4/8.14.4/Debian-4) with ESMTP id rAE8Etc4012191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 14 Nov 2013 09:14:55 +0100 Received: (from john@localhost) by jocasta.intra (8.14.4/8.14.4/Submit) id rAE8Esxb012190 for bug-guix@gnu.org; Thu, 14 Nov 2013 09:14:54 +0100 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 15890@debbugs.gnu.org --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 calli= ng user,=20 after the build has finished. J' --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlKEhn4ACgkQimdxnC3oJ7PfGQCfe5MHOLTBsDEDmwRHG8AHvVYQ epsAn3MUMiI6mu7TKD2L9ijx4g4wpmlO =/Obv -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--