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 3dcf3f0 commit 56da107Copy full SHA for 56da107
phase/configure_k0s.go
@@ -244,7 +244,7 @@ func (p *ConfigureK0s) configureK0s(h *cluster.Host) error {
244
configDir := gopath.Dir(configPath)
245
246
if !h.Configurer.FileExist(h, configDir) {
247
- if err := h.Execf(`install -d 0750 -o root -g root "%s"`, configDir, exec.Sudo(h)); err != nil {
+ if err := h.Execf(`install -m 0750 -o root -g root -d "%s"`, configDir, exec.Sudo(h)); err != nil {
248
return fmt.Errorf("failed to create k0s configuration directory: %w", err)
249
}
250
0 commit comments