From 5d441f773d56b6b1a0a95c18ca6bb33e3e237dbe Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Nov 2007 16:56:49 -0500 Subject: improvements --- pre-commit.d/30git-perm | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 pre-commit.d/30git-perm (limited to 'pre-commit.d/30git-perm') 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 -- cgit v1.2.3