Go to file
Eelco Dolstra 47f87072ad * A very dirty hack to make setuid installations a bit nicer to use.
Previously there was the problem that all files read by nix-env
  etc. should be reachable and readable by the Nix user.  So for
  instance building a Nix expression in your home directory meant that
  the home directory should have at least g+x or o+x permission so
  that the Nix user could reach the Nix expression.  Now we just
  switch back to the original user just prior to reading sources and
  the like.  The places where this happens are somewhat arbitrary,
  however.  Any scope that has a live SwitchToOriginalUser object in
  it is executed as the original user.

* Back out r1385.  setreuid() sets the saved uid to the new
  real/effective uid, which prevents us from switching back to the
  original uid.  setresuid() doesn't have this problem (although the
  manpage has a bug: specifying -1 for the saved uid doesn't leave it
  unchanged; an explicit value must be specified).
2004-09-09 21:12:53 +00:00
corepkgs * Adapted nix-pull to use the new substitute mechanism. 2004-06-21 09:51:23 +00:00
doc * Use setre[ug]id() instead of setres[ug]id(), since the former is 2004-09-09 15:55:31 +00:00
externals * Use ATerm 2.2. 2004-07-30 14:17:05 +00:00
misc * A flag `--keep-going / -k' to keep building goals if one fails, as 2004-06-25 15:36:09 +00:00
scripts * `--min-age' flag in nix-store and nix-collect-garbage to only delete 2004-08-25 16:54:08 +00:00
src * A very dirty hack to make setuid installations a bit nicer to use. 2004-09-09 21:12:53 +00:00
testpkgs * Argument support in Fix. Arguments can be passed through the 2003-08-15 13:01:45 +00:00
tests * Make sure that no build hook is set by default in the tests. 2004-08-19 09:09:09 +00:00
AUTHORS * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
COPYING * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
ChangeLog * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
INSTALL * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
Makefile.am * Setuid support for sharing a Nix installation between multiple 2004-08-20 14:49:05 +00:00
NEWS * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
README * Fixed URL. 2004-04-26 09:54:37 +00:00
bootstrap.sh * A script to generate the Auto* stuff. 2004-07-30 13:45:13 +00:00
configure.ac * A very dirty hack to make setuid installations a bit nicer to use. 2004-09-09 21:12:53 +00:00
nix.spec.in * Hack for perl(readmanifest) dependency. 2004-09-08 12:07:19 +00:00
substitute.mk * A test to verify that Nix executes build jobs in parallel, if 2004-05-04 17:04:17 +00:00

README

                             *** Nix ***

For installation and usage instructions, please read the manual, which
can be found in `docs/manual/manual.html', and additionally at the Nix
website at <http://www.cs.uu.nl/groups/ST/Trace/Nix>.