Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^5: Archive::Zip errors

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

in reply to Re^4: Archive::Zip errors
in thread Archive::Zip errors

I have not seen anything yet which indicates that this problem has anything to do with Archive::Zip. What is important here is the fact that your CGI scripts run as www, so the www user must have write permission in the locations specified in your scripts.

You will make your life easier as well as more secure if you set up a development environment which has the same underlying directory structure & permissions as your target production environment, rather than writing test files in random places on your hard drive. :)

Replies are listed 'Best First'.
Re^6: Archive::Zip errors
by fluffyvoidwarrior (Monk) on Nov 04, 2005 at 10:59 UTC
    Yes, That seems sensible and it is how I normally work. I use the /delme folder for shared junk with very loose security which is why I tested it there when I thought I had a permissions problem. Mainly I wanted to know that I wasn't doing anything dumb with archive::zip since I have about 20mins experience with it but was pretty certain of my code since it was lifted from the man page and the names changed. Thanks for your help. It doesm't seem like a perl or archive::zip problem so unless you have any other thoughts I'll "poke it with a stick" and trust to luck ...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://505668]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2018-06-20 02:19 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.