Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chmod operation not allowed in a Gitlab pipeline job #813

Open
divaybansal opened this issue Aug 9, 2024 · 0 comments
Open

Chmod operation not allowed in a Gitlab pipeline job #813

divaybansal opened this issue Aug 9, 2024 · 0 comments

Comments

@divaybansal
Copy link

nginx/build.go

Line 107 in 4c72106

err = os.Chmod(path, info.Mode()|0060)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant