Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Archive::Zip errors

by virtualsue (Vicar)
on Nov 04, 2005 at 08:01 UTC ( [id://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.

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found