"Restore to..." failed due to spaces in directory name

Bug #1096319 reported by DJ Dallas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
Medium
Germar

Bug Description

Back In Time 1.0.20 on Ubuntu Precice 12.04.1 64bit

"Restore to..." failed because the target directory ("Old Shortcuts") had a space in the name. The command line output does not have the target file/folder name in quotation marks.

I noticed in the info window that the command line rsync command does not enclose the destination directory with quotation marks. When replacing the space with an underscore, the restore worked correctly. The files are not copied/restored and the permission change fails because the file simply is not there to change! See the info window output below.

Oh, this is encountered when browsing within a snapshot, right-clicking on a file and selecting 'restore to' or 'restore folder to'. I did not test to see if the same is true for the other menu options.

Thanks for the great software and keep up the good work.

===================================================================================
OUTPUT WITH SPACE
rsync -rtDH --links --no-p --no-g --no-o -R -v --chmod=ugo=rwX --backup --suffix=.backup.20130105 "/media/Backup_Drive/Backups/backintime/dallas-desktop/david/1/20130102-220359-486/backup/home/david/.local/share/applications/./alacarte-made-2.desktop" /home/david/Desktop/Old Shortcuts/
sending incremental file list
alacarte-made-2.desktop

sent 305 bytes received 31 bytes 672.00 bytes/sec
total size is 213 speedup is 0.63

Restore permissions:
chown /home/david/Desktop/Old Shortcuts/alacarte-made-2.desktop 1000 : 1000 : FAILED
chmod /home/david/Desktop/Old Shortcuts/alacarte-made-2.desktop 100755 : FAILED
===================================================================================
OUTPUT WITHOUT SPACE
rsync -rtDH --links --no-p --no-g --no-o -R -v --chmod=ugo=rwX --backup --suffix=.backup.20130105 "/media/Backup_Drive/Backups/backintime/dallas-desktop/david/1/20130102-220359-486/backup/home/david/.local/share/applications/./alacarte-made-2.desktop" /home/david/Desktop/Old_Shortcuts/
sending incremental file list
alacarte-made-2.desktop

sent 303 bytes received 31 bytes 668.00 bytes/sec
total size is 213 speedup is 0.64

Restore permissions:
chown /home/david/Desktop/Old_Shortcuts/alacarte-made-2.desktop 1000 : 1000
chmod /home/david/Desktop/Old_Shortcuts/alacarte-made-2.desktop 100755
===================================================================================

DJ Dallas (djdallas)
description: updated
description: updated
Germar (germar)
Changed in backintime:
status: New → Confirmed
importance: Undecided → Medium
Germar (germar)
Changed in backintime:
status: Confirmed → Fix Committed
assignee: nobody → Germar (germar)
Germar (germar)
Changed in backintime:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.