https://issues.apache.org/bugzilla/show_bug.cgi?id=48757
Summary: Tomcat deletes content of symbolic links on undeploy of application. Product: Tomcat 6 Version: 6.0.24 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: rad...@gmail.com Tomcat on Linux. 1. Modify context to allow linking. E.g. set option allowLinking="true". 2. Deploy war file. 3. Wait until it is unzipped. 4. Enter into web app directory. 5. Create symbolic link to another directory for example ln -s /home/tomcat/images images 6. Now you can browse images via web browser. E.g. they are served by Tomcat. 7. Undeploy war application. 8. Expected behavior is to delete only symbolic link, but content of /home/tomcat/images is also deleted. On *Nix when do rm -fr app, symbolic link images will be deleted, but directory and content pointed by this link will stay. So I assume that everybody expects the same behavior when Tomcat undeploys given application. Workaround is to change ownership of linked directory. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org