Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Just another Perl shrine
 
PerlMonks  

RE: Re: Creating a file in a CGI script...

by JoeG (Initiate)
on May 19, 2000 at 17:17 UTC ( [id://13286]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Creating a file in a CGI script...
in thread Creating a file in a CGI script...

Wow. I was just about to post the same question. Except my situation is a little different. My script is going to be hosted on my ISPs NT/IIS/Perl box.. unfortunately. I can read from a file, but can't write. It's a file that exists too... but that doesn't seem to matter. CHMOD doesn't work either. Apparantly it isn't supported .... and hints? Thanks much, JoeG -
  • Comment on RE: Re: Creating a file in a CGI script...

Replies are listed 'Best First'.
RE: RE: Re: Creating a file in a CGI script...
by turnstep (Parson) on May 19, 2000 at 19:05 UTC
    Check out what open says when you try to open the file in write mode and (presumably) fail. Check the value of $!, check the error logs for the site, try writing a file in another location (e.g. /tmp or equivalent), and find out what user you are running as and the permission it has for each directory.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://13286]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.