Hello,

I'm having a problem with some directory permissions.
I'm a bit of a newbie to linux :-)

I have a perl script in a /cgi-bin directory. The directory and the script
are chmoded 755. The script runs well, until it comes to the
creation/writing
of a file when it dies. From the web, it can't create the necessary file.

>From the shell, it can however create the file. If I chmod the script and
the /cgi-bin directory 777 then the script won't run at all from the
browser.

Why is that? What can I do?

The script can however write to any directory outside the /cgi-bin
directory, if
that directory is chmoded 777.

What am I doing wrong?

Thanks for the help,
Arpith





----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to