guix-play/nix
Hartmut Goebel 2608e40988
daemon: Set ownership of kept build directories to the calling user.
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.
2016-12-09 15:46:09 +01:00
..
boost
guix-register
libstore daemon: Set ownership of kept build directories to the calling user. 2016-12-09 15:46:09 +01:00
libutil daemon: Remove unused XML output code. 2016-05-31 18:22:14 +02:00
nix-daemon daemon: Set ownership of kept build directories to the calling user. 2016-12-09 15:46:09 +01:00
scripts daemon: Add "builtin:download" derivation builder. 2016-11-16 18:19:47 +01:00
.gitignore
AUTHORS
COPYING
local.mk Add system start-up files for "guix publish". 2016-11-24 09:23:11 +01:00