Skip to content

Commit

Permalink
fix: executor dir perm changed to 755. Fixes #9651 (#10664)
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Vagulapuram <sandeeppuram7@gmail.com>
  • Loading branch information
sandeepk8s authored Mar 11, 2023
1 parent 1001424 commit 1acc966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ func untar(tarPath string, destPath string) error {
continue
}
target := filepath.Join(dest, filepath.Clean(header.Name))
if err := os.MkdirAll(filepath.Dir(target), 0o700); err != nil && os.IsExist(err) {
if err := os.MkdirAll(filepath.Dir(target), 0o755); err != nil && os.IsExist(err) {
return err
}
switch header.Typeflag {
Expand Down

0 comments on commit 1acc966

Please sign in to comment.