Files
photocraft/crates/format/src/atomic
Hector VillarrealandClaude Opus 5.5 f241bba1ad Saves keep the creation time under a deny-write ACL and through automation
CodeRabbit (discussion_r4370498176, two findings):
- copy_metadata copied the ACL before the creation time; an ACL that
  denies its owner write access, copied onto the temporary file first,
  made the creation-time step fail to open it. The time goes first now.
- AuthorizedWorkspace::write (the automation save path) copied only the
  extended attributes, so an automation save reset Finder's Created date.
  It now also copies the creation time through the same capability-checked
  handles, with the new descriptor-based meta::copy_created_file.

Tests: keeps_the_creation_time_under_a_deny_write_acl,
write_keeps_the_replaced_files_creation_time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 04:43:52 -06:00
..