Bug 184560 - app-backup/flexbackup fails to back up targets with spaces in their names in some modes
Bug#: 184560 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: john_r_graham@mindspring.com
Component: Applications
URL: 
Summary: app-backup/flexbackup fails to back up targets with spaces in their names in some modes
Keywords:  
Status Whiteboard: 
Opened: 2007-07-08 03:10 0000
Description:   Opened: 2007-07-08 03:10 0000
Spaces in file names are evil, but, alas, a fact of life.  FlexBackup acts as
the front-end for the traditional--and not so traditional--*nix archiving
tools, letting you choose your favorite archiving tool from a pretty
comprehensive list:  afio, dump, tar, cpio (archive mode), star, pax, zip, lha,
ar, shar, rsync, and cpio (copy mode).  It's author has handled quoting and/or
escaping for *most* of those, but it's missing in some places where a
space-containing file name may appear is just not complete.

There are issues with FlexBackup's use of the following archiving tools:  ar,
rsync, cpio (copy mode), and lha.  I've got preliminary fixes for rsync and
cpio (copy mode).  The issues with ar seem more fundamental right now, but I'm
still looking at it and lha.

I'm attaching preliminary fixes so that others can test.  Not ready for the
tree yet.

- John

------- Comment #1 From John R. Graham 2007-07-08 03:40:32 0000 -------
Created an attachment (id=124205) [details]
Patch fixes issues with rsync and cpio (copy) modes of FlexBackup.

------- Comment #2 From John R. Graham 2007-07-08 03:42:07 0000 -------
Created an attachment (id=124206) [details]
New ebuild that applies the new patch (and all the old ones, too).

------- Comment #3 From John R. Graham 2007-07-11 13:24:28 0000 -------
Created an attachment (id=124557) [details]
Patch now fixes all backup modes.

Fixed lha and ar,  Had to fix a bug in lha to get it working, so a dependency
on that bug was added to this bug.  Documentation still needs to be updated, as
well.

------- Comment #4 From John R. Graham 2007-07-11 17:21:55 0000 -------
(From update of attachment 124557 [details])
Should've been marked as a patch.

------- Comment #5 From John R. Graham 2007-07-19 01:46:05 0000 -------
Created an attachment (id=125301) [details]
New patch now updates man pages.

------- Comment #6 From John R. Graham 2007-07-24 11:09:47 0000 -------
This is now in Portage as flexbackup-1.2.1-r6 thanks to genstef and the Gentoo
Sunrise team.

- John