Skip to content

Commit ba1f643

Browse files
committed
[executor] Chmod sandbox directory 750→755 so task can read it
1 parent d83667f commit ba1f643

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

executor/executor.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ func Run(cfg config.Config) {
161161
handler = buildEventHandler(state)
162162
)
163163

164+
// Chmod executor directory from 750 to 755 because of OCTRL-766
165+
_ = syscall.Chmod(cfg.Directory, 0755)
166+
164167
// Main loop for (re)subscription. Once we're subscribed, we jump into the event loop for handling the agent.
165168
for {
166169
func() {

0 commit comments

Comments
 (0)