Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968748]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2018-04-23 22:20 GMT
Find Nodes?
    Voting Booth?