Page 1 of 1

fopen causing permission errors on IIS

Posted: Sun Oct 08, 2006 10:58 am
by clem_c_rock
Hello,

I'm trying to find out how to set the file permissions on an IIS server so I can execute file handling functions such as fopen, fputs, fclose ect.


I know this is pretty basic but I've yet to find a solution.

thanks for your help!

Clem C

Posted: Mon Oct 09, 2006 3:13 pm
by feyd
The user IIS runs under needs the permissions set for it. I don't know what to say more than that.

Posted: Tue Oct 10, 2006 9:32 am
by clem_c_rock
PROBLEM SOLVED!

The problem was that I was trying to grant the security permissions through IIS manager instead of simple old explorer. I just had to grant the default web viewing (in our case: IUSR_WW251) group permissions to the folder where the scripts were being read.

Here's what I did:

Windows Explorer >> Parent folder where scripts are reading/writing to files >> Sharing and Security >>
Security tab >> Add >> Advanced >> Find Now >> choose default web user (IUSR_WW251) >> OK >> OK