gfileutils: Preserve mode during atomic file writes (LP: #2072586)
See https://bugs.launchpad.net/bugs/2072586
As ubuntu/noble here is behind git-ubuntu (due to a few security uploads) I wasn't quite sure what to do. I went ahead and picked the git-ubuntu imports; happy to make adjustments as needed.