I have a Windows Server 2008 R2 that hosts a website with the following folder structure:
C:\ inetpub wwwroot MyApp JS Styles
The Application Pool Identity should have write permissions to both JS and Styles folder since we generate these on the fly. So far no problems.
However, when a new version of the application is deployed, these folders are replaced and the permissions go away. Is there a way to keep the permissions in these specific folders to make sure that they don´t lose their permissions when they are replaced?