Files
pdfcraft/crates
oracola91 d0a3427184 fix(platform): a save keeps the permissions of the file it replaces
On Unix the staging file got the default mode for a new file (usually
0644) and was renamed over the original, so saving a private 0600 PDF
left it readable by other local users. The staging file is now created
owner-only and given the original's permissions before anything is
written. A new file still gets the usual mode. Desktop save, the CLI
and the automation tools all write through this function.

Fixes #1790.
2026-10-15 16:40:45 +03:00
..
…