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

Use node-deb in bitbucket pipelines #110

Open
vervaekejonathan opened this issue Feb 14, 2022 · 1 comment
Open

Use node-deb in bitbucket pipelines #110

vervaekejonathan opened this issue Feb 14, 2022 · 1 comment

Comments

@vervaekejonathan
Copy link

When running node-deb in bitbucket pipelines, it complains

dpkg-deb: error: control directory has bad permissions 777 (must be >=0755 and <=0775)

Is there an easy way (without changing the dockerfile) to fix this?

@guillemglez
Copy link

Seems to be calling umask 022 at the top of the step. For some reason Bitbucket Pipelines has a umask value of 000 by default...

See this issue in Atlassian's Jira.

Would it make sense for node-deb making sure permissions are always set to 0755 before calling dpkg-deb?

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

2 participants