NIXOS-70: "nix-build -K" leaves an undeletable directory under `/tmp, leading to DoS
When a “nix-build -K” process finishes because of a build error, or because it was interrupted, it leaves a
/tmp/nix-XXXX-XX' directory owned by
nixbldX’. Therefore, this directory can only be removed by root. Thus, the file system holding `/tmp’ could quickly fill up.One solution might be to “chown” the directory to the user who invoked `nix-build’.
Thanks,
Submitted on 12 February 2008 at 09:57
Ludovic.
Log in to post comments