I just installed OSCommerce and it's giving me this error:

Warning: I am able to write to the configuration file: C:\Inetpub\websites\mysite/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

I've gone into Windows 2003 and explicitly set the "Users" group to "Read" access only for this file but I still get the error. At this point, I'm not sure what to set to get this message to disappear. Since OSCommerce is written in PHP, I figured that someone here would be able to help.

Rey...

    You need to set permissions for the web server user account. For IIS, that's usually the IUSR_computername user account.

      Doug G wrote:

      You need to set permissions for the web server user account. For IIS, that's usually the IUSR_computername user account.

      Hi Doug. Thanks for the reply. I did that and explicitly set it to "read" access only on the specific file in question but still no dice. Then, one of the guys over at the OSCommerce project told me to flip the "Read Only" file attribute (physical file attribute) and it took care of the problem. I'm surprised that setting proper perms didn't take care of this.

      Rey...

        I'm surprised that setting proper perms didn't take care of this.

        Me too. I'm glad you got it resolved.

          Write a Reply...