Writes to custom file locations are not atomic

Bug #1279965 reported by Manuel de la Peña on 2014-02-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-download-manager
Invalid
Critical
Manuel de la Peña

Bug Description

The download manager provides a way to download files to a custom location and step on the existing files. This feature wa introduced for the system image updates, unfortunately if two updates are ran at the same time the download is written on top of it corrupting the old files and making the update fail. To avoid that udm should write in a temp location and then move the file as a single atomic operation.

Changed in ubuntu-download-manager:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers