Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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-

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://207050]
help
Chatterbox?
[1nickt]: ugh, buying a computer is hard for an old person
[stevieb]: How do you mean?
[1nickt]: They assume that I want things I don;t and don;t provide things I do want. Looking for a 17" laptop with 4k (even 3K display) and full numeric-pad keyboard.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-03-26 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.