Files
Dylan M. Taylor 1dfda4b45a settings, atomic: give a replaced file's group bits only to its group
write_backup copied the config's mode onto a new backup inode without
giving it the config's group, and craft-atomic's stage() did the same
for every replaced file: on a setgid directory or with another primary
group, the group bits opened the contents to a group never granted
them. Both now chown the new inode to the replaced file's group first
and drop the group bits when that fails.
2026-11-03 11:02:32 +00:00
..