Skip to content

Commit

Permalink
[executor] Chmod sandbox directory 750→755 so task can read it
Browse files Browse the repository at this point in the history
  • Loading branch information
teo committed Jul 17, 2024
1 parent bcd2c1a commit cd64493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ func Run(cfg config.Config) {
handler = buildEventHandler(state)
)

// Chmod executor directory from 750 to 755 because of OCTRL-766
_ = syscall.Chmod(cfg.Directory, 0755)

// Main loop for (re)subscription. Once we're subscribed, we jump into the event loop for handling the agent.
for {
func() {
Expand Down

0 comments on commit cd64493

Please sign in to comment.