summaryrefslogtreecommitdiff
path: root/pre-commit.d/30git-perm
blob: 7a0bfa93d2ea23faba0906d7797b13588deea515 (plain)
1
2
3
4
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