Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Puzzled by File::Find

by Eliya (Vicar)
on May 03, 2012 at 14:15 UTC ( #968748=note: print w/ replies, xml ) Need Help??


in reply to Puzzled by File::Find

Presumably, you don't have permission to access the directories

/Users/dbae/tmp/tmpvdlE9a /Users/dbae/tmp/tmpZgzgiz

You have shown what the permissions of tmp/ are, but not the permissons of those directories.


Comment on Re: Puzzled by File::Find
Download Code
Re^2: Puzzled by File::Find
by dbae (Beadle) on May 03, 2012 at 15:15 UTC
    Nail on the head. Thanks. I had stupidly assumed that these funny names were constructed by File::Find. Is there an easy way to tell File:Find to skip directories when not permitted to look at them?
      Use -d, -r, & -x functions to test the permissions to accept or reject a file.
      Sorry: a misleading request. Presumably File::Find::find will automatically skip unreadable directories, and output an error message to STDERR. So I don't need to tell find to do any skipping. I think I should keep quiet for a while!!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-08-27 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (238 votes), past polls