Skip to content

Commit

Permalink
fix: fix permission denied failure on buildbarn RBE
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Aug 16, 2024
1 parent dd4b1ca commit 6108802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/private/npm_package_store.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _npm_package_store_impl(ctx):
tools = [bsdtar.tarinfo.binary],
inputs = depset(direct = [src], transitive = [bsdtar.default.files]),
outputs = [package_store_directory],
command = "$1 --extract --no-same-owner --no-same-permissions --strip-components 1 --file $2 --directory $3 && chmod -R a+X $3",
command = "$1 --extract --no-same-owner --no-same-permissions --strip-components 1 --file $2 --directory $3 && chmod -R a+X $3/*",
arguments = [args],
mnemonic = "NpmPackageExtract",
progress_message = "Extracting npm package {}@{}".format(package, version),
Expand Down

0 comments on commit 6108802

Please sign in to comment.