From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#15890: Please provide a way to delete old build directories. Date: Wed, 25 Jan 2017 11:56:05 +0100 Message-ID: <87a8af2yt6.fsf@gnu.org> References: <20131114081454.GA11819@jocasta.intra> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWLGF-0003Dm-MS for bug-guix@gnu.org; Wed, 25 Jan 2017 05:57:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWLGA-00029f-ST for bug-guix@gnu.org; Wed, 25 Jan 2017 05:57:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43373) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWLGA-00029U-Oz for bug-guix@gnu.org; Wed, 25 Jan 2017 05:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cWLGA-000230-H7 for bug-guix@gnu.org; Wed, 25 Jan 2017 05:57:02 -0500 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <20131114081454.GA11819@jocasta.intra> (John Darrington's message of "Thu, 14 Nov 2013 09:14:54 +0100") 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" To: John Darrington Cc: 15890-done@debbugs.gnu.org John Darrington skribis: > When packages are built using guix build --keep-failed the build director= ies > are created in /tmp/nix* (as they should be). > > But it is impossible to delete these directories without special privilig= es. > The user who called guix build --keep-failed cannot delete them because t= hey > 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 cal= ling user,=20 > after the build has finished. This was fixed by Hartmut in commit 2608e40988ba8cf51723fe0d21bdedf6b3997c9c. Ludo=E2=80=99.