add a script to fix the secrets permissions

This commit is contained in:
Andreas Zweili 2022-01-24 10:54:46 +01:00
parent a0076aeb34
commit 5b189702b8
1 changed files with 4 additions and 0 deletions

4
scripts/secret_permissions.xsh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env xonsh
find ./secrets -type d -print0 | xargs -0 chmod 700
find ./secrets -type f -print0 | xargs -0 chmod 600