diff options
author | mh <mh@immerda.ch> | 2009-05-25 19:43:01 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-05-25 19:43:01 +0200 |
commit | e24a9894574ba609fb7d2924fc71bc89bdb03688 (patch) | |
tree | 636e8b0c668bd1d75b85ad34e2a3870711b76c7b | |
parent | cf32e29a5c3089f6e9078a3e95010e70d338c1e1 (diff) |
we better remove any rights on the .git dir it shouldn't be needed at all
-rw-r--r-- | manifests/clone.pp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |