Skip to content

Chmod operation not allowed in a Gitlab pipeline job #813

@divaybansal

Description

@divaybansal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions