Skip Menu |

This queue is for tickets about the File-Copy-Recursive CPAN distribution.

Report information
The Basics
Id: 36178
Status: rejected
Priority: 0/
Queue: File-Copy-Recursive

People
Owner: Nobody in particular
Requestors: daneicherse [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.36
Fixed in: (no value)



Subject: dircopy fails.
On Solaris 10x86. I am trying to copy dir /foo to dir /archive/foo. This works every time as long as /foo only contains files or /archive/foo does not exist. If /archive/foo exists AND /foo contains symlinks copydir will fail. Perhaps this is because of the way Solaris deals with copies? cp /foo/file1 /archive/foo/ - copies no error, no warning. cp /foo/symlink1 /archive/foo/ - returns "cp: symlink1 and /archive/foo/symlink1 are identical" bash-3.00$ /usr/bin/perl -v This is perl, v5.8.4 built for i86pc-solaris-64int (with 29 registered patches, see perl -V for more detail) Copyright 1987-2004, Larry Wall bash-3.00$ uname -a SunOS hsx86 5.10 Generic_127112-11 i86pc i386 i86pc Thanks, Dan
What error does dircopy() throw? dircopy($source, $target) || die "dircopy($source, $target): $!";
On Mon Jul 07 09:03:30 2008, DMUEY wrote: Show quoted text
> What error does dircopy() throw? > > dircopy($source, $target) || die "dircopy($source, $target): $!";
With no further details, I'm inclined to chalk this up to the coder needing to setup various vars to get the behavior it wants or permissions maybe. Since its doesn't use any system commands it's not likely to be a Solaris issue (unless maybe symlink() or mkdir() works differently ??) If anyone can send more details I'd be happy to investigate but without those details it seems pretty likely that this is simple coder issue.