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