Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: What is the best way to move a directory to a mounted filesystem?

by wenD (Beadle)
on Nov 29, 2006 at 19:28 UTC ( [id://586804]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://586804]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-04-20 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found