mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
fix(export): write config with correct permissions
This commit is contained in:
parent
5b7b4afec9
commit
17dd5c8b58
|
@ -229,7 +229,7 @@ func (cfg *Config) Write(format string) {
|
|||
destination = cfg.origin
|
||||
}
|
||||
|
||||
f, err := os.OpenFile(destination, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755)
|
||||
f, err := os.OpenFile(destination, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0644)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue