paketo-buildpacks / nginx

Apache License 2.0
20 stars 14 forks source link

Chmod operation not allowed in a Gitlab pipeline job #813

Open divaybansal opened 2 months ago

divaybansal commented 2 months ago

https://github.com/paketo-buildpacks/nginx/blob/4c7210659dfe282336745a9151ba83459f96b2f0/build.go#L107

The nginx buildpack running in a Gitlab pipeline returns the below error

failed to chmod configuration files: nginx.conf: Operation not permitted

It might be better to create a warning instead of canceling the entire build process and throwing an error. The permissions can be managed by the users themselves.