Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Archive::Zip errors

by virtualsue (Vicar)
on Nov 04, 2005 at 08:01 UTC ( #505638=note: print w/ replies, xml ) Need Help??

in reply to Archive::Zip errors

Are there any archive files in the target directory which are owned by the local non-root userid as a byproduct of your development testing? If so, get rid of them because www:apache probably doesn't have permission to clobber them.

Comment on Re: Archive::Zip errors
Replies are listed 'Best First'.
Re^2: Archive::Zip errors
by fluffyvoidwarrior (Monk) on Nov 04, 2005 at 08:13 UTC
    No, no zip files at all in target folder.
      Then is this statement from your original post correct?

      All my other cgi scripts happily write to these folders but archive::zip won't

      Are you *sure* that www:apache can create files in the /delme/ directory?

        Just added :
        open(WOBBLE, ">/delme/flunk.txt"); print WOBBLE "Bugger!"; close(WOBBLE);
        to my cgi script and you're right apache wont write to the /delme directory. However, I then tested it on my actual real life directory with this code
        open(WOBBLE, ">/caralan_com/system/proofing/cam_proofs/steve/live/fl +unk.txt"); print WOBBLE "Bugger!"; close(WOBBLE);
        and the file is created as expected. It sounds like I have my permissions set wrong and that perhaps archive::zip is less forgiving than apache. I'll try opening my permissions and owner to something totally public all along that path and see what happens.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://505638]
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-11-30 09:48 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 (769 votes), past polls