digital-asset/dpm: IssueComment created — keep a file's mode when publishing it through an atomic write
Canton Signal Feed (Nov 3, 2026 · 6:31 PM ET)
`utils.AtomicWriteFile` and `utils.AtomicCopyFile` publish through `os.CreateTemp` and `os.Rename`. `os.CreateTemp` always creates 0600 and ignores the process umask, and nothing chmods the file before the rename. So every destination written this way lands 0600, and a destination that already existed has its mode silently narrowed. A file's mode is a deliberate invariant in this repository. It is
Loading repository facts…
Sources, Attribution & Disclaimer
- Published
- Nov 3, 2026 · 11:31 PM UTC
- Source
- github.com
- Publisher
- github.com
Full attribution under the Digital Millennium Copyright Act (DMCA), 17 U.S.C. § 512: this signal is published by Canton Signals, owned and published by Infiniti Markets LLC, and summarizes the reporting of the publishers named above, links to their original work where an address is supplied, and reproduces no protected expression beyond brief factual reference and in-line attribution (“according to github.com”). All rights in the underlying reporting remain with the publishers listed; nothing here implies endorsement by or affiliation with them. Rights holders may request correction, update or removal at Infiniiti@w3ai.io.
Disclaimer: For information only; not investment, legal or tax advice. Canton Signals and Infiniti Markets LLC are independent and not affiliated with the Global Synchronizer Foundation or Digital Asset. Check the original sources before relying on any figure.