diff options
author | Greg Price <gnprice@gmail.com> | 2020-03-21 22:20:02 -0700 |
---|---|---|
committer | Greg Price <gnprice@gmail.com> | 2020-03-23 20:23:27 -0700 |
commit | e40e01c1dd58c12a763d9614ff38dd7a984c9787 (patch) | |
tree | b4e498c62aab8bea84c85835bb01ded0847ade08 /doc | |
parent | 160edd3f5d55bbe7e396c08f35e7b80bc1905e6b (diff) |
doc: Files in the store have modes 444/555, not 644/755
This line has been this way since it was written, in 9e08f5efe
in 2006.
I think it was just a small mistake then; Eelco's thesis earlier
that year says the permission on each file is set to 0444 or 0555
in a derivation's output as part of the build process. In any
case I'm pretty sure that's the behavior now.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/command-ref/nix-store.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/command-ref/nix-store.xml b/doc/manual/command-ref/nix-store.xml index e8bbd16e8..1ddb5408d 100644 --- a/doc/manual/command-ref/nix-store.xml +++ b/doc/manual/command-ref/nix-store.xml @@ -1139,7 +1139,7 @@ the information that Nix considers important. For instance, timestamps are elided because all files in the Nix store have their timestamp set to 0 anyway. Likewise, all permissions are left out except for the execute bit, because all files in the Nix store have -644 or 755 permission.</para> +444 or 555 permission.</para> <para>Also, a NAR archive is <emphasis>canonical</emphasis>, meaning that “equal” paths always produce the same NAR archive. For instance, |