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 6797] New: - Class loader fails if it can't read entire tree upto a classfile
Date Fri, 01 Mar 2002 19:36:55 GMT
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=6797>.
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=6797

Class loader fails if it can't read entire tree upto a classfile

           Summary: Class loader fails if it can't read entire tree upto a
                    classfile
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: chris@lists.jakdaw.org


If I run tomcat under it's own user and have a webapp in /home/user/webapp/ -
with file permissions like:

/home/user        drwx--x--x
/home/user/webapp drwxr-xr-x

Then the class loader will fail to load any classes (which might be on the disk
at /home/user/webapp/WEB-INF/classes/com/domain/Class.class) without a
meaningful error.

Changing permissions to:

/home/user	  drwxr-xr-x
/home/user/webapp drwxr-xr-x

Will fix the problem but there's no reason at all why the class loader should
require anything more than "x" permission to the directories in which a class
path lies.

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


Mime
View raw message