From af753ca07da96d6cc32a105b811834fac4571b5f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 9 Dec 2011 12:25:42 -0500 Subject: [PATCH] Make bare repo globally readable (chmod 755) in git-publish.py. --- posts/Git/git-publish.py | 1 + 1 file changed, 1 insertion(+) diff --git a/posts/Git/git-publish.py b/posts/Git/git-publish.py index cc5910f..278c8f6 100755 --- a/posts/Git/git-publish.py +++ b/posts/Git/git-publish.py @@ -118,6 +118,7 @@ def make_bare_local_checkout(repo): _shutil.move(_os_path.join(bare, 'hooks', 'post-update.sample'), _os_path.join(bare, 'hooks', 'post-update')) git(repo=bare, args=['--bare', 'update-server-info']) + _os.chmod(bare, 0755) return bare def recursive_copy(source, user, host, port, path): -- 2.26.2