We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 409601a commit 050b40fCopy full SHA for 050b40f
phase/upload_k0s.go
@@ -82,7 +82,7 @@ func (p *UploadK0s) uploadBinary(_ context.Context, h *cluster.Host) error {
82
return fmt.Errorf("stat %s: %w", h.UploadBinaryPath, err)
83
}
84
85
- if err := h.Configurer.Touch(h, tmp, stat.ModTime()); err != nil {
+ if err := h.Configurer.Touch(h, tmp, stat.ModTime(), exec.Sudo(h)); err != nil {
86
return fmt.Errorf("failed to touch %s: %w", tmp, err)
87
88
if err := chmodWithMode(h, tmp, fs.FileMode(0o755)); err != nil {
0 commit comments