diff --git a/.buildkite/x-pack/elastic-agent/scripts/steps/build-agent-core.sh b/.buildkite/x-pack/elastic-agent/scripts/steps/build-agent-core.sh index 02c8dbb5fd3b..aef2174bba05 100755 --- a/.buildkite/x-pack/elastic-agent/scripts/steps/build-agent-core.sh +++ b/.buildkite/x-pack/elastic-agent/scripts/steps/build-agent-core.sh @@ -14,7 +14,8 @@ if [ "$DRA_WORKFLOW" == "snapshot" ]; then fi SNAPSHOT=$SNAPSHOT mage -d x-pack/elastic-agent packageAgentCore -chmod -R 777 x-pack/elastic-agent/build/distributions +chmod 777 x-pack/elastic-agent/build/distributions +chmod 664 x-pack/elastic-agent/build/distributions/* echo "+++ Generate dependencies report" ./dev-tools/dependencies-report