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 2011/10/22 00:09:40 UTC

DO NOT REPLY [Bug 52071] New: base.path basic choice (/usr/share/java) in build.properties.default is problematic

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: fgaliegue@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 52071] base.path basic choice (/usr/share/java) in build.properties.default is problematic

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52071

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-10-25 16:53:12 UTC ---
I am resolving this as WONTFIX for a variety of reasons. In no particular
order:

1. The default has been /usr/share/java for as long as I can remember and this
is the first time an issue has been raised. I conclude from that that this is
not an issue for the vast majority of folks.

2. Any change will break things for folks that are happily using the default.

3. The build process only ever adds to that location . It does not delete or
replace existing files. That greatly reduces the chances of any harm being
done.

4. It is configurable so folks that don't like the default can easily change
it.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org