[DW] Spoon.sh run shows Permission denied on Openjdk bin folder files
On running an installation file (WH_install.sh) 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/spoon.sh: 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.