Skip to content

Commit

Permalink
Enforce Node binary permissions
Browse files Browse the repository at this point in the history
In some cases it may have extra write permissions.
  • Loading branch information
code-asher committed Jun 21, 2023
1 parent cef2aa2 commit 56d10d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/build/build-standalone-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ main() {
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
rsync "$node_path" "$RELEASE_PATH/lib/node"

chmod 755 "$RELEASE_PATH/lib/node"

pushd "$RELEASE_PATH"
npm install --unsafe-perm --omit=dev
popd
Expand Down

0 comments on commit 56d10d8

Please sign in to comment.