tvl-depot/users/Profpatsch/aerc-no-config-perms.patch
Profpatsch 2a6928fb4c feat(users/Profpatsch): init initial aerc config
aerc is a mail client. It needs some ini files to work.
This is an initial attempt at generating them.

Change-Id: I087955f19d2c4527275500a1e13eeb071c98a7b9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5526
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2022-05-05 20:18:36 +00:00

12 lines
492 B
Diff

diff --git a/config/config.go b/config/config.go
index 0472daf..5eed379 100644
--- a/config/config.go
+++ b/config/config.go
@@ -779,6 +779,7 @@ func (config *AercConfig) LoadBinds(binds *ini.File, baseName string, baseGroup
// checkConfigPerms checks for too open permissions
// printing the fix on stdout and returning an error
func checkConfigPerms(filename string) error {
+ return nil;
info, err := os.Stat(filename)
if err != nil {
return nil // disregard absent files