K
Kishore
Hi,
I have perl program and it writes some data to a text file that is in
cgi-bin/log. And this file does not exist. So the program creates it
and then writes to it.
When I run the perl program from shell it creates and writes to the
text file fine.
But when I run the same program from http as a cgi, it gives me an
error saying that I do not have permission to create or write to this
file.
The cgi-bin has 0755 and log directory in cgi-bin also has 0755
permission settings.
Is there anything else I should do.
When I run from shell, I login as root.
Thanks for your help in advance.
Kishore.
I have perl program and it writes some data to a text file that is in
cgi-bin/log. And this file does not exist. So the program creates it
and then writes to it.
When I run the perl program from shell it creates and writes to the
text file fine.
But when I run the same program from http as a cgi, it gives me an
error saying that I do not have permission to create or write to this
file.
The cgi-bin has 0755 and log directory in cgi-bin also has 0755
permission settings.
Is there anything else I should do.
When I run from shell, I login as root.
Thanks for your help in advance.
Kishore.