[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 729307e7648d3ef6de4141285dcd7468a0a09689

Roland Mas lolando at fusionforge.org
Thu Feb 5 11:31:35 CET 2015


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_3 has been updated
       via  729307e7648d3ef6de4141285dcd7468a0a09689 (commit)
      from  3491dab9535b8416a3a1fba46ac0b47dccebe6a1 (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 729307e7648d3ef6de4141285dcd7468a0a09689
Author: Roland Mas <lolando at debian.org>
Date:   Thu Feb 5 11:06:09 2015 +0100

    Ensure proper permissions of user home directories

diff --git a/src/cronjobs/homedirs.php b/src/cronjobs/homedirs.php
index 9b4f418..6e79a2b 100755
--- a/src/cronjobs/homedirs.php
+++ b/src/cronjobs/homedirs.php
@@ -123,7 +123,7 @@ $res = db_query_params('SELECT DISTINCT(user_name) FROM nss_usergroups', array()
 foreach(util_result_column_to_array($res,0) as $uname) {
 	$uhome = "$hpfx/$uname/";
 	if (!isset($dirs[$uhome])) {
-		mkdir($uhome);
+		mkdir($uhome, 0755);
 		chown($uhome, $uname);
 		chgrp($uhome, USER_DEFAULT_GROUP);
 	}

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

Summary of changes:
 src/cronjobs/homedirs.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list