Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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. :)


Comment on Re^5: Archive::Zip errors
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?
Username:
Password:

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

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

    Is guessing a good strategy for surviving in the IT business?





    Results (111 votes), past polls