From e24a9894574ba609fb7d2924fc71bc89bdb03688 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 25 May 2009 19:43:01 +0200 Subject: we better remove any rights on the .git dir it shouldn't be needed at all --- manifests/clone.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/clone.pp b/manifests/clone.pp index bfc8082..1d6a298 100644 --- a/manifests/clone.pp +++ b/manifests/clone.pp @@ -22,7 +22,7 @@ define git::clone( notify => Exec["git-clone-chown_${name}"], } exec {"git-clone-chown_${name}": - command => "chown -R ${cloneddir_user}:${cloneddir_group} ${projectroot}", + command => "chown -R ${cloneddir_user}:${cloneddir_group} ${projectroot};chmod -R og-rwx ${projectroot}/.git", refreshonly => true } if $cloneddir_restrict_mode { -- cgit v1.2.3