简体   繁体   中英

Change folder permission after deploy

I have in my application a folder where I save files uploaded by users. This folder needs write permision for the apppool user. Untill now I did it manualy.

My question is, if this could be done somehow automatic ? Maybe running some script after deploy or something like this.

I have not tried this out myself, but it seems as if you could do this with the deployment package stuff in vs2010:

http://leethams.wordpress.com/2010/06/12/modifying-directory-permissions-with-web-deployment/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM