Skip to main content
Mitratech Success Center

[DW] run shows Permission denied on Openjdk bin folder files

Issue Statement

 On running an installation file ( on Linux the logs showing Permission denied error for the java executable file in source/openjdk-8u275-b01_linux/bin/ 

After checking the files, the bin folder doesn't have executable access. 

The below error is observed when running the sh files from Jenkins:

 /opt/bamboo/jenkins/workspace/TC-DW-Batch/build-source/source/ line 275: /opt/bamboo/jenkins/workspace/TC-DW-Batch/build-source/source/openjdk-8u275-b01_linux/bin/java: Permission denied

Workaround: Give the folder executable access manually using chmod before running the installation/refresh files. 

  • Was this article helpful?