Bug 12056 - Startup scripts test for invalid permissions.
Summary: Startup scripts test for invalid permissions.
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 4.0 Beta 3
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-26 21:37 UTC by jaco
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jaco 2002-08-26 21:37:14 UTC
In the file $CATALINA_HOME/bin/setclasspath.sh on line 13, and again on line 24 
the script incorrectly test for read permissions instead of execute.  Catalina 
should not at all be interrested in whether these files can be read, but 
rather, can they be executed.  As such -r should be replaced with -x.

For what it's worth, I'm running debian 3.0 (woody) and are using the tomcat4 
package thereof:
ii  tomcat4        4.0.3-3        Java Servlet 2.3 engine with JSP 1.2 support
Comment 1 Mark Thomas 2004-07-26 22:03:22 UTC
Your proposed patch has been applied to CVS for TC4 (and TC5).