Skip to content

Commit 7b444bd

Browse files
authored
fix(agents): make baked payload readable (#2419)
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent cd9a0bf commit 7b444bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎scripts/agents/run.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ File.open(dockerfile_path, "a") do |file|
639639
file.puts
640640
file.puts "USER root"
641641
file.puts "COPY openshell-agent-payload/ #{payload_image_dir}/"
642+
file.puts "RUN chmod -R a+rX #{payload_image_dir}"
642643
file.puts "RUN chmod -R a-w #{payload_image_dir}"
643644
file.puts final_user if final_user
644645
end

0 commit comments

Comments
 (0)