[Fusionforge-commits] FusionForge branch Branch_5_2 updated. b8be6343b68d1678340bb2085a4955ec5c734c67

Roland Mas lolando at fusionforge.org
Thu Jul 11 12:07:50 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_2 has been updated
       via  b8be6343b68d1678340bb2085a4955ec5c734c67 (commit)
      from  a0b909950ce3d7b71e1b812703fa43252047220b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b8be6343b68d1678340bb2085a4955ec5c734c67
Author: Roland Mas <lolando at debian.org>
Date:   Thu Jul 11 12:07:40 2013 +0200

    Set the Git repo's parent directory to belong to the appropriate group

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index c4f347c..639b4d8 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -325,6 +325,7 @@ class GitPlugin extends SCMPlugin {
 		} else {
 			$unix_group = forge_get_config('apache_group');
 		}
+		system ("chgrp $unix_group $root") ;
 
 		$main_repo = $root . '/' .  $project_name . '.git' ;
 		if (!is_dir($main_repo) || (!is_file("$main_repo/HEAD") &&

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/scmgit/common/GitPlugin.class.php |    1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list