00418: flock open failure by IIS (Windows-NT)

Summary: flock open failure by IIS (Windows-NT)
Created: 2005-04-06 01:58
Status: Closed - not a bug
Category: Bug
From: RWC?
Assigned:
Priority: 5
Version: pmwiki-2.0.beta28
OS: Windows NT 5.0 Microsoft-IIS/6.0 PHP Version 4.3.6

Description: Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in \\premfs2\sites\premium7\****\webroot\log\index.php on line 350 PmWiki can't process your request Cannot acquire lockfile We are sorry for any inconvenience.

index.php is simply pmwiki.php renamed

The application was developed on a LINUX Apache server, tested, and ported to the NT IIS where it promptly failed. I adjusted all configurables in /local/config.php to reflect the new environment to no obvious improvement. I tried removing .flock (which contained 0 bytes) to no obvious improvement.


The problem looks like a permissions problem on the wiki.d/ directory. Many IIS servers require setting the IUSER permissions on the directory before the webserver (and PmWiki) is allowed to access it or create files there.

--Pm


This was resolved when I contacted the Web Host sysadmin to add the read and write permissions to the webroot PMWiki folder

--RWC?