https://issues.apache.org/bugzilla/show_bug.cgi?id=52071

             Bug #: 52071
           Summary: base.path basic choice (/usr/share/java) in
                    build.properties.default is problematic
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: fgalie...@gmail.com
    Classification: Unclassified


It is problematic for at least two reasons:

* it has quite a few chances to be a directory in use by the base operating
system;
* if tomcat is built as root (which shouldn't happen but still), there may be
the possibility to alter the contents of this directory.

Suggestions:

* change it to /var/tmp/tomcat-build, or the like;
* or don't define it at all in build.properties.default and raise an error at
build time if user hasn't defined it in its own build.properties.

-- 
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

Reply via email to