On Fri, 2004-04-02 at 23:02, Lu Song wrote:
   > Who can tell me how to write data into the file on the harddisk in cgi
   > program in ICON/UNICON?

SW> Is the directory writable?  Try using an absolute path...

Steve makes a good suggestion.  I'll add that: CGI scripts may run as a
different "user" with different permissions than you!  In some systems,
it even has a different "root" directory, lower down in the filesystem,
for security reasons.

You can talk to your system administrator, read your system's documentation,
or in the worst case, write a CGI that tells you many things about the CGI
environment (cgiEcho("user: " || getenv("USER")) etc.). It might be useful
to put such a CGI diagnostic program in our program library.

Clint


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to