unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: John Darrington <john@darrington.wattle.id.au>
Cc: 15890@debbugs.gnu.org
Subject: bug#15890: Please provide a way to delete old build directories.
Date: Tue, 10 Dec 2013 22:58:51 +0100	[thread overview]
Message-ID: <87ob4otlk4.fsf@gnu.org> (raw)
In-Reply-To: <20131114081454.GA11819@jocasta.intra> (John Darrington's message of "Thu, 14 Nov 2013 09:14:54 +0100")

John Darrington <john@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’.

  reply	other threads:[~2013-12-10 21:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14  8:14 bug#15890: Please provide a way to delete old build directories John Darrington
2013-12-10 21:58 ` Ludovic Courtès [this message]
2016-11-07  8:56 ` Hartmut Goebel
2016-11-09 14:44   ` Ludovic Courtès
2017-01-25 10:56 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob4otlk4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=15890@debbugs.gnu.org \
    --cc=john@darrington.wattle.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).