From 13172427806ad41fb3896c2e3ced1cf9672bb081 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 22 Sep 2004 12:15:04 +0000 Subject: [PATCH] * Make store objects created by substitutes read-only. --- src/libstore/normalise.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc index 62ffb981c..ebdf7fdca 100644 --- a/src/libstore/normalise.cc +++ b/src/libstore/normalise.cc @@ -1601,6 +1601,8 @@ void SubstitutionGoal::finished() return; } + makePathReadOnly(storePath); + Transaction txn; createStoreTransaction(txn); registerValidPath(txn, storePath);