Subject: | bug: psync problem |
Date: | Sat, 26 Aug 2006 04:34:43 -0700 (PDT) |
To: | bug-MacOSX-File [...] rt.cpan.org |
From: | "Dr. Clea F. Rees" <margali [...] imapmail.org> |
* Distribution name and version
MacOSX::File 0.71 (latest)
* Perl version (Find this by running the command perl -v)
5.8.6
* Operating System vendor and version
Mac OS X 10.4.7
psync fails to do correct incremental backups in the following sort of
case:
1) create directory a with a subdirectory g containing a text file t
2) create directory b with a subdirectory c containing another
subdirectory y containing a text file f
3) cd b ; ln -s c/y ./g
4) use psync to backup a to b, deleting unused files etc.:
psync -d a b
[ -d followed by 1, 2 or 3 seems to behave identically despite
documentation ]
5) a/g, a/g/t will not be backed up
This is a serious issue for users of package management utilities such
as stow (available from GNU). In fact, this is how I discovered the bug.
I did search, but cannot find this reported either among the cpan
reports or via a Google search.
This also undermines Carbon Copy Cloner, which relies partly on psync.
Happy to provide more information if required.
--
Dr. Clea F. Rees
Department of Philosophy
Cowell Academic Services
University of California
Santa Cruz
CA 95064
U.S.A.
cfrees@imapmail.org
http://people.ucsc.edu/~cfrees/