summaryrefslogtreecommitdiff
path: root/internal/cli/cli.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/cli.go')
-rw-r--r--internal/cli/cli.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cli/cli.go b/internal/cli/cli.go
index a4b9a9a..d100d4f 100644
--- a/internal/cli/cli.go
+++ b/internal/cli/cli.go
@@ -324,7 +324,7 @@ func (a *App) handleProfileImport(srcPath string, name string) error {
return fmt.Errorf("failed to read source file: %w", err)
}
- if err := os.WriteFile(destPath, data, 0644); err != nil {
+ if err := os.WriteFile(destPath, data, 0600); err != nil {
return fmt.Errorf("failed to write profile to %s: %w", destPath, err)
}