Score:0

Moved app to Default Application Pool with ApplicationPoolIdentity and there are permission errors

th flag

Running a PHP 8.2 app.

I changed the app to use the Default Application Pool under the user ApplicationPoolIdentity instead of the previous Custom pool and custom account, but now I get:

The stream or file C:\inepub...\logfile.log could not be opened in append mode: Failed to open stream: Permission denied

I then thought I need to add the user IUSR to the users under security and give it all the permissions, but it still did not work.

How can I fix the permission when using ApplicationPoolIdentity?

Edit: I even followed this guide and added IIS AppPool\DefaultAppPool, but still not good: https://learn.microsoft.com/en-us/iis/manage/configuring-security/application-pool-identities#securing-resources

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.