You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/08/19 03:09:02 UTC

DO NOT REPLY [Bug 30742] New: - Tomcat breaks if config file is a symlink

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=30742>.
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=30742

Tomcat breaks if config file is a symlink

           Summary: Tomcat breaks if config file is a symlink
           Product: Tomcat 5
           Version: 5.0.27
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jefft@apache.org


If conf/Catalina/localhost/mywebapp.xml is a symlink, Tomcat deploys, but
deletes the file's content and so breaks on subsequent reloads.  I'm guessing
Tomcat is trying to rewrite mywebapp.xml, and isn't following the symlink properly.

The symlink goes to a directory outside Tomcat's, but the user starting Tomcat
has read/write permission there.

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