title: JMX password read access issue
body: <p>When I try to use JMX to monitor an application like this:</p>
  
  <pre><code>java -Dcom.sun.management.jmxremote.port=9999 \
       -Dcom.sun.management.jmxremote.authenticate=false \
       -Dcom.sun.management.jmxremote.ssl=false \
       JMX_tester
  </code></pre>
  
  <p>it tells me:</p>
  
  <pre><code>Error: Password file read access must be restricted:
         /usr/lib/jvm/java-7-oracle/jre/lib/management/jmxremote.password
  </code></pre>
  
  <p>Yet, when I use <code>chmod</code> to restrict the read access, it tells me:</p>
  
  <pre><code>Error: can't read password file
  </code></pre>
  
  <p>Am I going insane or something? How can I fix this?</p>
  
  <p>This is Ubuntu btw, with the latest oracle jdk </p>