Open
Bug 2090314
Opened 10 days ago
[macOS] Create the .moz-draft and .moz-backup files of an update outside the app bundle
Categories
(Toolkit :: Application Update, defect)
Tracking
()
ASSIGNED
People
(Reporter: spohl, Assigned: spohl)
References
(Blocks 1 open bug)
Details
Since bug 2060275, a non-staged update writes each new file as <file>.moz-draft next to its destination and keeps each replaced file as <file>.moz-backup next to it. On macOS that puts unsealed files inside Firefox.app while the update runs, so the bundle's code signature is broken until the update finishes, and stays broken if it is interrupted.
On macOS, the updater should write the drafts and backups to a directory outside the bundle, on the same volume, so that moving them into place still works, and the bundle never holds files that its signature doesn't cover.
You need to log in
before you can comment on or make changes to this bug.
Description
•