Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-1218

Permission denied on $JAVA_HOME/jre/lib/security/cacerts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Final
    • None
    • None
    • None

      When $JAVA_HOME/jre/lib/security/cacerts is a symlink to other file, we see the following message when starting dockerized hawkular-services with HAWKULAR_USE_SSL=true

      keytool error: java.io.FileNotFoundException: /usr/lib/jvm/java-1.8.0/jre/lib/security/cacerts (Permission denied)

      This is because chown won't resolve any symlink to change the ownership of the file unless you pass the -RH flag to resolve the path of the passed arguments.

              rhn-engineering-jshaughn Jay Shaughnessy
              jmartine@redhat.com Josejulio Martínez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: