From d974d5e4d585d2df8c9f11f331c038a97e7d05b0 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 22 Jul 2026 16:48:32 +0200 Subject: [PATCH] fix(agents): make baked payload readable Signed-off-by: Evan Lezar --- scripts/agents/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/agents/run.sh b/scripts/agents/run.sh index 4e086399db..78ef359a49 100755 --- a/scripts/agents/run.sh +++ b/scripts/agents/run.sh @@ -639,6 +639,7 @@ File.open(dockerfile_path, "a") do |file| file.puts file.puts "USER root" file.puts "COPY openshell-agent-payload/ #{payload_image_dir}/" + file.puts "RUN chmod -R a+rX #{payload_image_dir}" file.puts "RUN chmod -R a-w #{payload_image_dir}" file.puts final_user if final_user end