Search code examples
yamlconcourse

Issues with Concourse Pipeline sh: build/public/maintenance-page/ci-setup-start.sh: Permission denied


I get following error message when running the Concourse Pipeline

sh: build/public/maintenance-page/ci-setup-start.sh: Permission denied

The problem appeared shortly after changing the path from

build/maintenance-page/ci-setup-start.sh

to

build/public/maintenance-page/ci-setup-start.sh

I found this in the yaml file for the pipeline.

      run:
        path: sh
        args:
          - -exc
          - apk add --no-cache --no-progress bash && build/public/maintenance-page/ci-setup-start.sh

Could it be something to do with this and how could I fix the problem?

Thank you very much for your help.


Solution

  • It seems to be missing the execution permission in the script file.

    chmod +x build/public/maintenance-page/ci-setup-start.sh