nixos/scripts/secret_permissions.sh

5 lines
125 B
Bash
Raw Normal View History

2022-01-31 12:42:56 +01:00
#!/usr/bin/env bash
find ./secrets -type d -print0 | xargs -0 chmod 700
find ./secrets -type f -print0 | xargs -0 chmod 600