[Nix-dev] Re: Using "chattr -R +i" to ensure /nix/store entry immutability.

Michael Raskin 7c6f434c at mail.ru
Sat Aug 14 22:27:59 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/14/2010 11:49 PM, Yury G. Kudryashov wrote:
>> Is it a good idea to (optionally) run "chattr -R +i $out" after
>> successful builds and "chattr -R -i $path" when garbage collecting?
> I agree but first we should check store integrity on some real computer to 
> find out which files are overwritten and realise why they're overwritten 
> (AFAIR, something wrong with $linux/).

I do not see these as mutually exclusive. I guess both can give some
information (some programs will probably fail when unable to write to
$PREFIX).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMZvxPAAoJEE6tnN0aWvw3f04H/1fGpQTr+SvZin2pRDWnBPsO
fqw3dV8A9C2wmSjpcPD1p8GNapTKkJX1xuVfGNNktKeGAQc3JrcziYxwrK4M876q
HSuXcR1XACSAAPB5rQ7T8V107kh3ysPmRxqSHX+EOHSIZuvIgtLpvsblYmaJajE5
aV1BsSxwR9iktGkghx6a1QRDbWxt+zlb4kYq+5z4eY4xIB+pppazgUb8HY7WLCqE
gGpupIT+F5qIeO5ei8jZmXzOJcNMo6aFvcnDQ76N+E0cjGuwgnzcHEyCJm618kFq
21e33yAxvjQC1wCqZpLpR/osrfFX5ZTb8jX0tgDzVK5VdaYmpwn5N2lihDW5TpM=
=Dnp3
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list