mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-02 02:38:30 -06:00
- PLOTTERMANAGER's settings store now checks read access to the settings folder and each file, write access to the target before the folder is created, and write access before deletion (#1472 review). list surfaces a refused folder as an ordinary error. - Reads are allowed under the read or the write root; writes stay under the write root. A write to the write root itself is refused, since its temporary file would land beside the root, outside it. - Tests cover reads under either root, refusing the root as a write target, no temporary file outside the root, and every plotter action refused when the shared settings folder is outside the roots. - Docs and CLI help describe the same rules. This is 72961da from the #1904 branch, which the 2 Nov rebase dropped, ported to main's atomic_write. Main's writers now use a fresh temporary file beside the target, so the separate temporary-path checks are gone.