diff options
Diffstat (limited to 'pre-commit.d/30git-perm')
| -rwxr-xr-x | pre-commit.d/30git-perm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pre-commit.d/30git-perm b/pre-commit.d/30git-perm new file mode 100755 index 0000000..7a0bfa9 --- /dev/null +++ b/pre-commit.d/30git-perm @@ -0,0 +1,5 @@ +#!/bin/sh +# etckeeper-init should have taken care of this, but as a paranoia +# measure, make sure .git is not world readable +set -e +chmod 700 .git |
