tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40761] New: - Tomcat will follow symlinks on undeploy.
Date Mon, 16 Oct 2006 10:40:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40761>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40761

           Summary: Tomcat will follow symlinks on undeploy.
           Product: Tomcat 5
           Version: 5.5.12
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: johan@gronvall.se


I made a small webapp with only a context file with allowLinking parameter set
to true and a simple web.xml to be able to link to my music and photo library. I
put a symlink to my media collection and everything worked fine. Now, while
editing the web.xml - to be able to use customized directory listings - Tomcat
all of a sudden made an undeploy of my webapp, reason still unkown. Worse was
that the undeploy mechanism followed the symlink and erased everything beneath
it because - unfortunately - I was running Tomcat as root :-( Thank god that I
had a backup. If this has to do with the allowLinking="true" parameter in the
context file or not I don't know but nevertheless it should NOT IMHO act like
that on delete.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message