When integrating Joomla 3.2 on a Windows Server 2008 R2 with IIS 7.5, problems with directory rights often arise, which are often inadequately resolved with settings that are too generously chosen. The following solution is safe and fully functional:
- The group IIS_IUSRS needs the following permissions for C:\inetpub\wwwroot\: read & execute, view folder contents, read, write
- The IIS_IUSRS group needs the rights for C: \ Windows \ Temp \: Read & Execute, Show folder contents, Read, Write
- The user IUSR must be in the group IIS_IUSRS (Computer Management > Local Users and Groups > Groups)
If you need additional special directory rights (for example for SSH or FTP) for all files uploaded via PHP, you should also set these for the C:\Windows\Temp\ folder. If you upload a file via PHP, PHP first copies this file to the temporary path and then to the final path. If the file ended up in the temporary directory, it inherits its rights and retains them after being moved to the final directory.