in reply to Re: What is the best way to move a directory to a mounted filesystem?
in thread What is the best way to move a directory to a mounted filesystem?

Thanks for your replies. A few more details I should have included...

The platform is Linux.
Permissions are okay.
I can get File::Copy to move a directory from one place to another as long as it's on the same filesystem.
---------------------------- use File::Copy; my $source_dir = '/home/my/this_dir'; my $destination_dir = '/usr/local/elsewhere/this_dir'; # This works fine. move($source_dir, $destination_dir); ----------------------------
  • Comment on Re^2: What is the best way to move a directory to a mounted filesystem?
  • Download Code

Replies are listed 'Best First'.
Re^3: What is the best way to move a directory to a mounted filesystem?
by johngg (Canon) on Nov 29, 2006 at 23:01 UTC
    In your OP the destination path is /nfsmount/elsewhere/this_dir implying that the filesystem id from a remote server. Have you checked whether the filesystem has been shared on that server as read-only. I know this can throw a spanner in the works under Solaris.

    Just a thought,

    JohnGG