[Nix-dev] Re: How can I stop python writing into the nix store?

Yury G. Kudryashov urkud+nix at ya.ru
Mon Apr 4 09:44:56 CEST 2011


Eelco Dolstra wrote:

> Hi,
> 
> On a more general note, it would be nice if we could prevent accidental
> changes to store paths by root.  On ext2/3/4 this can be done by setting
> the immutable bit on a file.  Unfortunately, it also prevents additional
> hard links to the file, so it breaks `nix-store --optimise'.
Can nix-store --optimise reset this bit?




More information about the nix-dev mailing list