[Fusionforge-commits] FusionForge branch 6.1 updated. v6.1beta1-6-g7073be5
Franck Villaume
nerville at libremir.placard.fr.eu.org
Fri Dec 22 19:57:39 CET 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, 6.1 has been updated
via 7073be5850a6b96e1be8d4be4011e922c5f1a48c (commit)
from 57cd43b8fb892de28fc275aed16967ddd3e165fd (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=7073be5850a6b96e1be8d4be4011e922c5f1a48c
commit 7073be5850a6b96e1be8d4be4011e922c5f1a48c
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Fri Dec 22 19:57:17 2017 +0100
fix ownership on incoming dir for groups in case of use_manual_uploads set
diff --git a/src/cronjobs/shell/homedirs.php b/src/cronjobs/shell/homedirs.php
index 62868b6..b42857c 100755
--- a/src/cronjobs/shell/homedirs.php
+++ b/src/cronjobs/shell/homedirs.php
@@ -4,7 +4,7 @@
* Fusionforge Cron Job
*
* The rest Copyright 2002-2005 (c) GForge Team
- * Copyright 2012, Franck Villaume - TrivialDev
+ * Copyright 2012,2017, Franck Villaume - TrivialDev
* Copyright © 2013 Thorsten Glaser, tarent solutions GmbH
* http://fusionforge.org/
*
@@ -171,6 +171,10 @@ while ($row = db_fetch_array($res)) {
system("chown -R root:$groupname $ghome");
system("chmod -R g+w $ghome");
+ if (forge_get_config('use_manual_uploads')) {
+ // specific ownership for apache to deal with incoming
+ chown($ghome.'/incoming', forge_get_config('apache_user'));
+ }
}
}
-----------------------------------------------------------------------
Summary of changes:
src/cronjobs/shell/homedirs.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list