Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Permission denied error from dirmove function of File::Copy::Recursive.

by Gulliver (Monk)
on Jul 25, 2011 at 17:05 UTC ( [id://916562]=note: print w/replies, xml ) Need Help??


in reply to Re: Permission denied error from dirmove function of File::Copy::Recursive.
in thread Permission denied error from dirmove function of File::Copy::Recursive.

Each step in this application builds on previous steps so your suggestion doesn't really apply. It would be like building a house without all the pieces and going back later to fix things. Plus there are up to 250,000 files in up to 5000 directories involved.

What I have already done is make the script look for an existing download folder and process any files there.

In the problem I stated of people browsing the directory, if someone consistantly does this after running the script then the script will consistantly fail which would be an embarassment. If I can send a more descriptive error message than "permission denied" then hopefully I can change this behavior or find out if there is something else to blame as other responders have suggested.

  • Comment on Re^2: Permission denied error from dirmove function of File::Copy::Recursive.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2025-03-28 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (71 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.