[Fusionforge-commits] FusionForge branch Branch_5_2 updated. 98f328ba41231e7d71bea54248962bae7f74d222

Roland Mas lolando at fusionforge.org
Mon Feb 25 10:45:49 CET 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  98f328ba41231e7d71bea54248962bae7f74d222 (commit)
      from  0e0855e9603983b8434ff57f161d45fc7aeafb8e (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 98f328ba41231e7d71bea54248962bae7f74d222
Author: Roland Mas <lolando at debian.org>
Date:   Mon Feb 25 10:45:41 2013 +0100

    Fixed syntax of permissions for chmod

diff --git a/src/deb-specific/group_dump_update.pl b/src/deb-specific/group_dump_update.pl
index 3217b67..baa8d59 100755
--- a/src/deb-specific/group_dump_update.pl
+++ b/src/deb-specific/group_dump_update.pl
@@ -154,12 +154,12 @@ sub add_group {
 	$inc_dir = $group_dir."/incoming";
 
         if ($is_public) {
-            $default_perms = 2775 ;
-            $file_default_perms = 664;
+            $default_perms = 02775 ;
+            $file_default_perms = 0664;
 	    $default_page = "/usr/share/gforge/lib/default_page.php" ;
         } else {
-            $default_perms = 2770 ;
-            $file_default_perms = 660;
+            $default_perms = 02770 ;
+            $file_default_perms = 0660;
 	    $default_page = "/usr/share/gforge/lib/private_default_page.php" ;
         }
 	
@@ -201,9 +201,9 @@ sub update_group {
 	$inc_dir = $group_dir."/incoming";
 
 	if ($is_public) {
-	    $default_perms = 2775 ;
+	    $default_perms = 02775 ;
 	} else {
-	    $default_perms = 2771 ;
+	    $default_perms = 02771 ;
 	}
 
 	if ($verbose) {print("Updating Group: $gname\n")};

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

Summary of changes:
 src/deb-specific/group_dump_update.pl |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list