[Fusionforge-commits] FusionForge branch master updated. v6.0.5-2096-gf915478

Franck Villaume nerville at libremir.placard.fr.eu.org
Fri Aug 11 15:58:21 CEST 2017

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, master has been updated
       via  f91547857d5ad2b1e44a7502ba2dd9d43a2eaeb8 (commit)
      from  9d3c955ca74239658dd2e48a4cbeda8d3a3e4c20 (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 f91547857d5ad2b1e44a7502ba2dd9d43a2eaeb8
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Aug 11 13:58:16 2017 +0000

    fix permission on cgi script

diff --git a/src/plugins/scmhg/common/HgPlugin.class.php b/src/plugins/scmhg/common/HgPlugin.class.php
index 76dfdf5..e82ece6 100644
--- a/src/plugins/scmhg/common/HgPlugin.class.php
+++ b/src/plugins/scmhg/common/HgPlugin.class.php
@@ -320,7 +320,7 @@ Offer DAV or SSH access.");
 			$apache_user = forge_get_config('apache_user');
 			$apache_group = forge_get_config('apache_group');
 			system("chown $apache_user:$apache_group $project_hgweb");
-			system("chmod u+x $project_hgweb");
+			system("chmod 755 $project_hgweb");
 		if (!is_dir("$root/.hg")) {
 			system("hg init $root");


Summary of changes:
 src/plugins/scmhg/common/HgPlugin.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


More information about the Fusionforge-commits mailing list