diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-19T20·17-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-19T20·17-0400 |
commit | b9c2b4d5b4cd5d52a950e6dd90eb2e2e79891fa0 (patch) | |
tree | e0f8f1b95570604fa64cd89fb53a50f44f72dcb0 /perl | |
parent | b9124a5c336fd231adaa548cf5be311731847848 (diff) |
Remove setting of the immutable bit
Using the immutable bit is problematic, especially in conjunction with store optimisation. For instance, if the garbage collector deletes a file, it has to clear its immutable bit, but if the file has additional hard links, we can't set the bit afterwards because we don't know the remaining paths. So now that we support having the entire Nix store as a read-only mount, we may as well drop the immutable bit. Unfortunately, we have to keep the code to clear the immutable bit for backwards compatibility.
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions