Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: CGI open of tmpfile

by robartes (Priest)
on Oct 22, 2002 at 12:27 UTC ( #207050=note: print w/ replies, xml ) Need Help??


in reply to CGI open of tmpfile

CGI.pm will look among the following directories for one that is writeable to your CGI user (non-Unix directories left out):

Contents of environment variable TMPDIR /usr/tmp /var/tmp /tmp /temp current working directory
In your case, none of the above directories seem to be writable to your CGI user.

The easiest solution is probably to set $ENV{'TMPDIR'} in your code to point to a directory that is writable to your CGI user.

CU
Robartes-


Comment on Re: CGI open of tmpfile
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (10)
As of 2015-07-31 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls