node-deb icon indicating copy to clipboard operation
node-deb copied to clipboard

Use node-deb in bitbucket pipelines

Open vervaekejonathan opened this issue 3 years ago • 1 comments

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?

vervaekejonathan avatar Feb 14 '22 13:02 vervaekejonathan

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?

guillemglez avatar Feb 16 '22 08:02 guillemglez