|
From: | Ludovic Courtès |
Subject: | Re: [PATCH v4] daemon: Set ownership of kept build directories to the calling user. |
Date: | Fri, 09 Dec 2016 15:23:14 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hartmut Goebel <address@hidden> skribis: > Fixes <http://bugs.gnu.org/15890>. > > * nix/libstore/globals.hh (Settings) Add clientUid and clientGid. > * nix/nix-daemon/nix-daemon.cc (daemonLoop] Store UID and GID of the > caller in settings. > * nix/libstore/build.cc (_chown): New function. > (DerivationGoal::deleteTmpDir): Use it, change ownership of build > directory if it is kept and the new owner is not root. OK, please push. Thank you! Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |