This commit is contained in:
@@ -145,7 +145,6 @@ func (c *InstallConfig) ToArchInstall() *ArchInstallConfig {
|
||||
"firejail",
|
||||
"apparmor",
|
||||
"nftables", // Using nftables instead of ufw as requested
|
||||
"hardened-malloc",
|
||||
|
||||
// Browsers
|
||||
"chromium", // Using regular chromium instead of ungoogled-chromium as requested
|
||||
@@ -220,7 +219,7 @@ func (c *InstallConfig) SaveArchInstallConfig(filepath string) error {
|
||||
return fmt.Errorf("failed to marshal config: %w", err)
|
||||
}
|
||||
|
||||
return os.WriteFile(filepath, data, 0644)
|
||||
return os.WriteFile(filepath, data, 0o644)
|
||||
}
|
||||
|
||||
func (c *InstallConfig) SaveUserCredentials(filepath string) error {
|
||||
@@ -247,5 +246,5 @@ func (c *InstallConfig) SaveUserCredentials(filepath string) error {
|
||||
return fmt.Errorf("failed to marshal credentials: %w", err)
|
||||
}
|
||||
|
||||
return os.WriteFile(filepath, data, 0600)
|
||||
return os.WriteFile(filepath, data, 0o600)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user