Author: funkman
Date: Thu Nov 5 18:46:43 2009
New Revision: 833121
URL: http://svn.apache.org/viewvc?rev=833121&view=rev
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=47495
If server.xml doesnt have read permission - let the user know
Modified:
tomcat/trunk/java/org/apache/catalina/startup/Catalina.java
Modified: tomcat/trunk/java/org/apache/catalina/startup/Catalina.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/startup/Catalina.java?rev=833121&r1=833120&r2=833121&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/startup/Catalina.java (original)
+++ tomcat/trunk/java/org/apache/catalina/startup/Catalina.java Thu Nov 5
18:46:43 2009
@@ -516,6 +516,9 @@
if ((inputStream == null) && (file != null)) {
log.warn("Can't load server.xml from " + file.getAbsolutePath());
+ if (file.exists() && !file.canRead()) {
+ log.warn("Permissions incorrect, read permission is not
allowed on the file.");
+ }
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]