On 12 May 2006 11:04:09 -0700, krustazeen.RemoveThis@gmail.com wrote:
>I'm experimenting with some PHP reporting software on Windows 2003
>servers, and the PHP reporting function has a problem on some machines,
>where the IUSR_[MACHINE_NAME] (Internet Guest User Account) doesn't
>have proper access to C:\Windows\Temp. On those computers, I must
>explicitly add IUSR to the temp folder with full access.
>
>On other computers, IUSR isn't explicitly listed in the permissions
>settings for the same folder, but the PHP reporting works fine. If I
>examine the "Effective Permissions" for IUSR on C:\Windows\Temp, he has
>ONLY Traverse Folder/Execute File, Create File/Write Data, and Create
>Folders/Append Data. If I add IUSR explicitly to the permissions
>settings with only those settings listed in "Effective Permissions",
>PHP fails to access the temp folder. What's going on? Why does IUSR act
>as if it has full access to this temp folder when "Effective
>Permissions" say otherwise?
>
The security settings in Windows have been changed over time. Most
probably you have some servers running Windows 2000 Server, where the
Temp dir was accessible to "Everyone" including IUSR. On these you
system works just fine.
But on XP (I believe from SP2) and on Windows 2003 especially NO
access is allowed for IUSR to *anything* below %systemroot% and so
your process fails.
I recommend creating a new folder C:\Temp (outside %systemroot%) and
set the permissions on this as you like.
Then go to ControlPanel/System/Advanced and set the TMP and TEMP
environment variables for SYSTEM to this folder instead.
I expect that your problems will now be solved after restarting the PC
(because the processes needing this environment variable are already
started).
Bo Berglund
bo.berglund(at)nospam.telia.com
>> Stay informed about: IUSR account and C:WindowsTemp