Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

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 chanting in the Monastery: (5)
As of 2018-09-18 23:07 GMT
Find Nodes?
    Voting Booth?
    Eventually, "covfefe" will come to mean:

    Results (163 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!