fs-mistrust needs more flexibility for tor-rpc-connect
While working on tor-rpc-connect, I find that I want some additional functionality from fs-mistrust:
- The optional ability to open a path from within a
CheckedDireven if that path is a symlink. (This might require additional checking.) (need) - The ability to create world-readable files (mode 0644). (need)
- The ability to open/read/write a path without creating a
CheckedDir. - The ability to cleanly check the parent of a path in preparation for writing to it.
- An equivalent to
write_and_replacethat returns aFile-like object.
The items marked with need are actually required; the others are merely desirable.
Edited by Nick Mathewson