简体   繁体   中英

loss of rights on webapps during a Maven deployment

How to specify to Maven to put the right rights on included files? When I deploy my spring application on the Tomcat server, I lose the rights to the files deployed in the webapps directory. So, for future deployment, I can not delete existing files and I have to ask my host to put the right one. He told me it was during the war that the problem occurred but I do not know how I can tell Maven to put all the rights on the files.

This is not a maven problem. When you deploy the war tomcat unpack it with its ownership. You have to delete the war or update it using tomcat itself. You can use the tomcat manager for this task.

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