Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-05-24 00:49 GMT
Find Nodes?
    Voting Booth?