diff options
| author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 16:56:49 -0500 |
|---|---|---|
| committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 16:56:49 -0500 |
| commit | 5d441f773d56b6b1a0a95c18ca6bb33e3e237dbe (patch) | |
| tree | e18b0a8b84bbb5f91705ee55164c5ebf20fb63f8 /pre-commit.d/30git-perm | |
| parent | 4a808ca40fc19e2acbe72205f0087dbf9c48e31b (diff) | |
improvements
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 |
