mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
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>