2009-11-16 15:06:33 |
Michael Terry |
bug |
|
|
added bug |
2009-11-16 15:06:58 |
Michael Terry |
deja-dup: importance |
Undecided |
Medium |
|
2009-11-16 15:06:58 |
Michael Terry |
deja-dup: status |
New |
Fix Committed |
|
2009-11-16 15:06:58 |
Michael Terry |
deja-dup: milestone |
|
12.0 |
|
2009-11-16 15:06:58 |
Michael Terry |
deja-dup: assignee |
|
Michael Terry (mterry) |
|
2009-11-16 15:07:17 |
Michael Terry |
nominated for series |
|
deja-dup/10 |
|
2009-11-16 15:07:17 |
Michael Terry |
bug task added |
|
deja-dup/10 |
|
2009-11-16 15:07:17 |
Michael Terry |
nominated for series |
|
deja-dup/11 |
|
2009-11-16 15:07:17 |
Michael Terry |
bug task added |
|
deja-dup/11 |
|
2009-11-16 15:07:45 |
Michael Terry |
deja-dup/10: importance |
Undecided |
Medium |
|
2009-11-16 15:07:45 |
Michael Terry |
deja-dup/10: status |
New |
Triaged |
|
2009-11-16 15:07:45 |
Michael Terry |
deja-dup/10: milestone |
|
10.3 |
|
2009-11-16 15:07:45 |
Michael Terry |
deja-dup/10: assignee |
|
Michael Terry (mterry) |
|
2009-11-16 15:08:08 |
Michael Terry |
deja-dup/11: importance |
Undecided |
Medium |
|
2009-11-16 15:08:08 |
Michael Terry |
deja-dup/11: status |
New |
Triaged |
|
2009-11-16 15:08:08 |
Michael Terry |
deja-dup/11: milestone |
|
11.1 |
|
2009-11-16 15:08:08 |
Michael Terry |
deja-dup/11: assignee |
|
Michael Terry (mterry) |
|
2009-11-16 15:08:37 |
Michael Terry |
bug task added |
|
deja-dup (Ubuntu) |
|
2009-11-16 19:32:58 |
Michael Terry |
deja-dup/11: status |
Triaged |
Fix Released |
|
2009-11-16 19:39:34 |
Michael Terry |
deja-dup/10: status |
Triaged |
Fix Released |
|
2009-11-16 20:27:31 |
Michael Terry |
attachment added |
|
dd-10.3.debdiff http://launchpadlibrarian.net/35757819/dd-10.3.debdiff |
|
2009-11-16 20:29:04 |
Michael Terry |
nominated for series |
|
Ubuntu Karmic |
|
2009-11-16 20:29:04 |
Michael Terry |
bug task added |
|
deja-dup (Ubuntu Karmic) |
|
2009-11-16 20:31:43 |
Michael Terry |
deja-dup (Ubuntu Karmic): status |
New |
Confirmed |
|
2009-11-16 20:31:49 |
Michael Terry |
deja-dup (Ubuntu): status |
New |
Confirmed |
|
2009-11-19 18:35:37 |
Michael Terry |
attachment added |
|
dd-restore-fixes.debdiff http://launchpadlibrarian.net/35859532/dd-restore-fixes.debdiff |
|
2009-11-22 15:41:52 |
Michael Terry |
description |
Let's say your backup contains a directory without write permissions (a common example is apparently the Jaunty Ubuntu One directory). When restoring that directory, you will get errors about any files under that directory (because Deja Dup can't move files into it!).
The fix is to set directory permissions after writing subfiles and to fallback to copying from the temporary restore directory if moves don't work. |
Let's say your backup contains a directory without write permissions (a common example is apparently the Jaunty Ubuntu One directory). When restoring that directory, you will get errors about any files under that directory (because Deja Dup can't move files into it!).
The fix is to set directory permissions after writing subfiles and to fallback to copying from the temporary restore directory if moves don't work.
For an Ubuntu 9.10 SRU:
There are three closely related bugs:
- Restoring files from a read-only directory fails
- Restoring a file from a directory that doesn't exist yet fails
- Restoring a single file downloads all files
The first two can manifest themselves as data loss (or at least, no easy way to get your data that is locked inside your backup). The last could make it very difficult to restore specific data if you are short on disk space (would need to use a different computer). Thus, the SRU request.
The first (read-only directory) is more common than the other problems -- apparently the Jaunty Ubuntu One folder was read-only.
This was fixed in Lucid by pushing new upstream version 11.1-0ubuntu1, which included the fix. The attached patch for Karmic is modified from upstream bug-fix release 10.3.
To reproduce, create a folder that is read only. Put some files in it. Back up that folder with Deja Dup. Move the folder out of the way. Run Deja Dup, click restore, and restore the files in their original location. With 10.2, it fails. With 10.2+patch, it succeeds.
There shouldn't be much of a regression potential. The code changes are light. |
|
2009-11-22 15:45:08 |
Launchpad Janitor |
deja-dup (Ubuntu): status |
Confirmed |
Fix Released |
|
2009-11-23 00:36:11 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/deja-dup |
|
2009-11-23 11:15:53 |
Martin Pitt |
deja-dup (Ubuntu Karmic): status |
Confirmed |
Fix Committed |
|
2009-11-23 11:15:58 |
Martin Pitt |
tags |
restore |
restore verification-needed |
|
2009-11-23 11:23:08 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/karmic-proposed/deja-dup |
|
2009-11-24 10:42:13 |
Martin Pitt |
tags |
restore verification-needed |
restore verification-done |
|
2009-11-29 20:26:06 |
Michael Terry |
deja-dup: status |
Fix Committed |
Fix Released |
|
2009-11-30 10:50:49 |
Launchpad Janitor |
deja-dup (Ubuntu Karmic): status |
Fix Committed |
Fix Released |
|