s_m_b has asked for the wisdom of the Perl Monks concerning the following question:

Our intranet uses a perl-based forum (YaBB) for its bulletin boards. Until yesterday, all was fine. Suddenly, we cannot post new content in any form. I did a quick investigate and discoverde that the problem is with new files, that they are not being written. Exisiting files are fine.

My question? Given win 2000 server, IIS5, perl 5.8.8, what possible file/folder permissions are going to prevent a file create? I know this is something permissions based, as the same symptoms are across two parallel servers, and happened, AKAIK at the same time. What modules might be available that give a pretty decent error response (already useing
use CGI::Carp qw(fatalsToBrowser);
but the internal error trapping is catching everything (by reporting files missing) before it gets to that. ?

  • Comment on perl 5.8.8 and windows 2000 and file writing...

Replies are listed 'Best First'.
Re: perl 5.8.8 and windows 2000 and file writing...
by Errto (Vicar) on Nov 03, 2006 at 16:35 UTC
    This isn't related directly to Perl, but based on this information, I agree with your guess that this is a permissions issue. In IIS, the default user name for server side programs is IUSR_{computername} and this user is configured with minimal permissions by default. You'll need to confirm that this user has the proper permissions on the directories, or change IIS to use a different user.
      The problem with that is that we use 'Windows Integrated' authentication (allows us to use %ENV to harvest logins). However, I might see if explicitly making the IUSR_ account able to write/execute helps. You never know with Windows ! ;)
Re: perl 5.8.8 and windows 2000 and file writing...
by thezip (Vicar) on Nov 03, 2006 at 16:34 UTC

    Is anything interesting being written into your logfiles (ie. httpd-error.log, and Event Viewer, YaBB logs)?

    Where do you want *them* to go today?
Re: perl 5.8.8 and windows 2000 and file writing...
by Anonymous Monk on Nov 03, 2006 at 15:23 UTC
    Its best to ask http://www.yabbforum.com/community