title: How to fix incorrect permissions when installing Tomcat?
body: <p>I've just installed Tomcat 7 in Ubuntu 13.04 but i have a problem in starting the server.</p>
  
  <p>I've installed Tomcat 7 by the command:</p>
  
  <pre><code>tar -xzpf ./apache-tomcat-7.0.26.tar.gz -C /chemin_vers_dossier_d_installation/
  </code></pre>
  
  <p>and to start the server :</p>
  
  <pre><code> /opt/apache-tomcat-7.0.39/bin/catalina.sh run
  </code></pre>
  
  <p>but i had this error message: </p>
  
  <pre><code>run
  Using CATALINA_BASE:   /opt/apache-tomcat-7.0.39
  Using CATALINA_HOME:   /opt/apache-tomcat-7.0.39
  Using CATALINA_TMPDIR: /opt/apache-tomcat-7.0.39/temp
  Using JRE_HOME:        /home/fakarovic/jdk1.6.0_45/
  Using CLASSPATH:       /opt/apache-tomcat-7.0.39/bin/bootstrap.jar:/opt/apache-tomcat-7.0.39/bin/tomcat-juli.jar
  May 10, 2013 9:19:32 AM org.apache.catalina.startup.Catalina load
  WARNING: Unable to load server configuration from [/opt/apache-tomcat-7.0.39/conf/server.xml]
  May 10, 2013 9:19:32 AM org.apache.catalina.startup.Catalina load
  WARNING: Permissions incorrect, read permission is not allowed on the file.
  May 10, 2013 9:19:32 AM org.apache.catalina.startup.Catalina load
  WARNING: Unable to load server configuration from [/opt/apache-tomcat-7.0.39/conf/server.xml]
  May 10, 2013 9:19:32 AM org.apache.catalina.startup.Catalina load
  WARNING: Permissions incorrect, read permission is not allowed on the file.
  May 10, 2013 9:19:32 AM org.apache.catalina.startup.Catalina start
  SEVERE: Cannot start server. Server instance is not configured.
  </code></pre>
  
  <p>NB: I already defined the JAVA_HOME variable.</p>