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 8c517bf745346223e6551246909e9f461bcb050b (commit)
from d84d3b88b316056284558e1e5151643cc8f92154 (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=8c517bf745346223e6551246909e9f461bcb050b
commit 8c517bf745346223e6551246909e9f461bcb050b
Author: Franck Villaume <[email protected]>
Date: Wed Jul 12 16:47:53 2017 +0200
ftp homedir, set correct permissions
diff --git a/src/cronjobs/shell/homedirs.php b/src/cronjobs/shell/homedirs.php
index db60803..62868b6 100755
--- a/src/cronjobs/shell/homedirs.php
+++ b/src/cronjobs/shell/homedirs.php
@@ -136,7 +136,8 @@ while ($row = db_fetch_array($res)) {
if ($ftp_pfx && !is_dir($ftp_pfx . '/' . $groupname)) {
@mkdir($ftp_pfx . '/' . $groupname);
- //XXX chown/chgrp/chmod?
+ system("chown -R root:$groupname $ftp_pfx/$groupname");
+ system("chmod -R 0770 $ftp_pfx/$groupname");
}
$ghome = $gpfx . '/' . $groupname;
-----------------------------------------------------------------------
Summary of changes:
src/cronjobs/shell/homedirs.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits