in reply to Re^2: creating a file with a cgi script
in thread creating a file with a cgi script

As I said before, your web server process doesn't have permission to write to that directory. The error message seems pretty clear to me, but if you want more detail then try adding "use diagnostics" to your program.

Which user does your web server run as? Do you use suexec at at? What are the permissions on the directory that you are trying to write to?

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re^3: creating a file with a cgi script

Replies are listed 'Best First'.
Re^4: creating a file with a cgi script
by Anonymous Monk on May 19, 2006 at 08:29 UTC
    I'm not an SU. And the permission looks like:
    drwxr-xrw- 2 myname myname 4096 May 19 15:28 user_log

      You missed my first question "which user does your web server run as?" And you seem confused by my second question - suexec is an Apache feature.

      --
      <http://dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg