I'm running an ASP.NET MVC web app on IIS7 on Windows Server 2008. In order to allow my log files to be written to the application directory (under \WebSites), I have given the DefaultAppPool write permissons to the folder.
This worked fine, until a day or so later, my log files stopped showing up in the application directory. I checked the permissions and I still saw Write was allowed for the DefaultAppPool. I redeployed the website and updated the security settings again, and my log files were once again able to be written.
Does this seem strange to anyone else? Is there something I need to do to get these security settings to stick?