Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: question n File::Find

by zentara (Archbishop)
on Oct 30, 2012 at 11:02 UTC ( #1001487=note: print w/ replies, xml ) Need Help??

in reply to question n File::Find

Yeah, my comment on it, is that it looks like when he copied the file contained in $File::Find::name, it copied it's permissions too, and they were readonly. So then he tried to open it for writing and gets the error. Or else the directory where the script tried to create the file didn't have write perms, in this case, the right to create a file. Write in the directory context means create a new file. Read only means you can't create a file there. Just a guess. :-)

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Comment on Re: question n File::Find
Replies are listed 'Best First'.
Re^2: question n File::Find
by skyworld_chen (Acolyte) on Oct 30, 2012 at 13:28 UTC

    thanks for your reply. I have checked the attributes and they are -rw-rw----. Thanks.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2015-12-01 01:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (791 votes), past polls