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 2002/08/28 02:24:16 UTC

DO NOT REPLY [Bug 12111] New: - /etc/java.conf shouldn't have to be executable

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12111>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12111

/etc/java.conf shouldn't have to be executable

           Summary: /etc/java.conf shouldn't have to be executable
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Installable Packages
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: pilchman@attbi.com


The following is from /etc/tomcat4/tomcat4.conf in
tomcat4-4.0.4-le.2jpp.noarch.rpm:

    # Source Java system configuration if exist
    if [ -x /etc/java.conf ]; then
        . /etc/java.conf
    fi

This will only source /etc/java.conf if that file
is executable.  The test should be changed to:

    if [ -f /etc/java/conf ]; then
        . /etc/java.conf
    fi

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>