Mutable Directories
Posted: 04 Mar 2025 08:18
For most modern operating systems applications are not allowed to modify paths under where there files are installed. They instead must only modify files under mutable directories, like appdata on windows, or .config on Linux.
I'm attempting to package heli-x on a Linux OS where directories beneath where it's installed are not mutable, I wonder if it is possible to add a parameter to heli-x to specify a directory, outside the installation directory, where downloadable file can be stored.
e.g the error I'm encountering:
In this particular case, NixOS does not allow directories under the installation to be modified (they are root-owned readonly).
I'm attempting to package heli-x on a Linux OS where directories beneath where it's installed are not mutable, I wonder if it is possible to add a parameter to heli-x to specify a directory, outside the installation directory, where downloadable file can be stored.
e.g the error I'm encountering:
Code: Select all
The directory could not be created:
/nix/store/8qqsjnhdx79k6asinx4bwmkpdv46s1k0-HELI-X/resources/Translation