Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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
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
Node Status?
node history
Node Type: note [id://505638]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-08-23 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls