Skip to content

Commit

Permalink
Make setup-envtest store dir deletable for owner
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Mar 21, 2023
1 parent c3c1f05 commit 3e3ea88
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/setup-envtest/store/store.go
Expand Up @@ -187,11 +187,6 @@ func (s *Store) Add(ctx context.Context, item Item, contents io.Reader) (resErr
}
log.V(1).Info("unpacked archive")

log.V(1).Info("switching version-platform directory to read-only")
if err := itemPath.Chmod("", 0555); err != nil {
// don't bail, this isn't fatal
log.Error(err, "unable to make version-platform directory read-only")
}
return nil
}

Expand Down

0 comments on commit 3e3ea88

Please sign in to comment.