From 2a3b67647f3e8d10a19e0888a300e4c73ee0bafd Mon Sep 17 00:00:00 2001
From: Pascal de Bruijn
Date: Mon, 13 Jun 2022 11:32:34 +0200
Subject: [PATCH] fix(googleauth): proper 0700 permissions on secrets directory
---
users/googleauth.sls | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/users/googleauth.sls b/users/googleauth.sls
index 03366e2..f78ba1e 100644
--- a/users/googleauth.sls
+++ b/users/googleauth.sls
@@ -13,7 +13,7 @@ users_{{ users.googleauth_dir }}:
- name: {{ users.googleauth_dir }}
- user: root
- group: {{ users.root_group }}
- - mode: '0600'
+ - mode: '0700'
{%- for name, user in pillar.get('users', {}).items() if user.absent is not defined or not user.absent %}
{%- if 'google_auth' in user %}