Anonymous | Login | Signup for a new account | 12-17-2024 08:29 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0005536 | [Resin] | major | always | 09-28-13 21:16 | 10-03-13 10:46 | ||||
Reporter | ssmax | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.38 | ||||||
Summary | 0005536: webapp deploy will delete files in symbolic links with expand-preserve-fileset enable | ||||||||
Description |
default config in resin.xml <web-app-deploy path="webapps" expand-preserve-fileset="WEB-INF/work/**" multiversion-routing="${webapp_multiversion_routing}" path-suffix="${elastic_webapp?resin.id:''}"/> expand-preserve-fileset="WEB-INF/work/**" this feature will preserve the files in WEB-INF/work/, but with this feature enable, if there are some symbolic links in the war, resin will delete all files under symbolic links when the war deploy... if disable this feature, delete the line ' expand-preserve-fileset="WEB-INF/work/**" ' in the config, resin will only delete the files under webapp but leave all files under symbolic links. i guess this feature first make a file list and filter it, so it found the files under symbolic links and delete it , it is not safe because even 'rm -rf ' will not follow the symbolic links. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |