From c8891bb5a0a0972cf2f4762f3b33c040efbfcc21 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Sat, 20 Feb 2016 14:31:53 -0800 Subject: [PATCH] Copy user permissions to group and other in bin/* Necessary for packages so that the libraries/deps files are readable, even when owned by root (because it was installed from a package). --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 5ff4d8e2be..a94094d8e3 100755 --- a/build.sh +++ b/build.sh @@ -23,3 +23,6 @@ popd # Publish PowerShell to bin, with LINUX defined through a configuration dotnet publish --output "$BIN" --configuration Linux src/Microsoft.PowerShell.Linux.Host + +# Fix permissions for packaging +chmod -R go=u "$BIN"