Skip to content

Commit 56d10d8

Browse files
committed
Enforce Node binary permissions
In some cases it may have extra write permissions.
1 parent cef2aa2 commit 56d10d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/build/build-standalone-release.sh

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ main() {
2424
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
2525
rsync "$node_path" "$RELEASE_PATH/lib/node"
2626

27+
chmod 755 "$RELEASE_PATH/lib/node"
28+
2729
pushd "$RELEASE_PATH"
2830
npm install --unsafe-perm --omit=dev
2931
popd

0 commit comments

Comments
 (0)