diff --git a/build/scripts/Packaging.fs b/build/scripts/Packaging.fs index 16b498e..5290a55 100644 --- a/build/scripts/Packaging.fs +++ b/build/scripts/Packaging.fs @@ -147,6 +147,11 @@ let stageInstallationBashScript () = let elasticInstall = distroFile installScript File.WriteAllText(elasticInstall.FullName, contents) + let permissions = + UnixFileMode.UserRead ||| UnixFileMode.UserWrite ||| UnixFileMode.UserExecute + ||| UnixFileMode.GroupRead ||| UnixFileMode.GroupWrite ||| UnixFileMode.GroupExecute + ||| UnixFileMode.OtherRead ||| UnixFileMode.OtherWrite ||| UnixFileMode.OtherExecute + File.SetUnixFileMode(elasticInstall.FullName, permissions); let stageInstallationPsScript () = let installScript = downloadFileInfo "OpenTelemetry.DotNet.Auto.psm1" diff --git a/src/Elastic.OpenTelemetry.AutoInstrumentation/instrument.sh b/src/Elastic.OpenTelemetry.AutoInstrumentation/instrument.sh old mode 100644 new mode 100755