Description | There are some files in the data/ directory structure that Dwarf Fortress opens in read-write mode, but to my knowledge, it only reads from them and never writes to them.
This causes some unnecessary failures when the user doesn't have write permissions on those files. Usually this isn't a problem, because the user owns all the files of Dwarf Fortress. But for my Debian packages of Dwarf Fortress, this creates some additional complexity, because the files in question aren't writable by the user when installed and I have to work around this in my wrapper script (see 11800).
I think the directories affected by this are as follows:
- data/dipscript/
- data/announcement/
- data/help/
- data/index
However, since I don't know the internals of Dwarf Fortress, I don't know if Dwarf Fortress may sometimes write to these files. But at least I have never seen any modifications to them in the wild. |