I would guess (and that is all that it is) that the web server is running as a user ID that does not have permissions to write to wherever the cgi script wants to write.

That being said, if the application cannot be configured to write to a location outside of the HTMLROOT, run, don't walk, away from the application and find something else that meets your needs.

The web server, as a 'best practice' (take that as you will), should never be allowed to write to any location directly accessible from web-space (in your HTMLROOT). Allowing the web server to write to an area directly [update: perhaps this should be "publically"] available via web-space likely allows for hijacking of your web server and other security or reputation related attacks.

Note that denying this avenue of attack does not make your server 'secure', it just removes one avenue of attack.

--MidLifeXis


In reply to Re: (OT) Perk script help by MidLifeXis
in thread (OT) Perk script help by 5lider

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.