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.0 has been updated
via b32e44abdce8e4225a96f92ea9070256e013ab18 (commit)
from 1eed8feb9989bef3fbba3bfd04a1afabf1421c74 (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 b32e44abdce8e4225a96f92ea9070256e013ab18
Author: Sylvain Beucler <[email protected]>
Date: Mon Jun 8 16:39:15 2015 +0200
20150404-scmperms.php: fix permissions
diff --git a/src/CHANGES b/src/CHANGES
index 2cc274b..1abe417 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -8,6 +8,7 @@ FusionForge 6.0.1:
* Widgets: MyProjects: only display active projects (Inria)
* SCM SVN: fix double-compression in ViewVC (Inria)
* SCM SVN: support files with spaces in ViewVC (Inria)
+* SCM SVN: fix permissions in migration script (Inria)
* Plugin scmhook: git commitemail: fix subject, handle special chars (Roland
Mas, for Inria)
* Plugin scmhook: fix hook deactivation (Inria)
* Doc clean-up (Inria)
diff --git a/src/db/20150404-scmperms.php b/src/db/20150404-scmperms.php
index 868ddfd..34e3d1a 100644
--- a/src/db/20150404-scmperms.php
+++ b/src/db/20150404-scmperms.php
@@ -50,10 +50,10 @@ foreach ($groups as $group) {
$repo = "$svnroot/$gname";
if (is_dir($repo)) {
- chmod($repo, $group['anon'] ? 02775 : 02770);
+ chmod($repo, $group['anon'] ? 02755 : 02750);
system("chown -Rh root:{$gid_rw} $repo");
system("chown -h root:{$gid_ro} $repo");
- system("find $repo -type d -print0 | xargs -r -0 chmod 2775");
+ system("find $repo/* -type d -print0 | xargs -r -0 chmod 2775");
system("chmod -R g+rwX,o+rX-w $repo/*");
}
$repo = '/nonexistent'; // for safety
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 1 +
src/db/20150404-scmperms.php | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/CHANGES b/src/CHANGES
index 2cc274b..1abe417 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -8,6 +8,7 @@ FusionForge 6.0.1:
* Widgets: MyProjects: only display active projects (Inria)
* SCM SVN: fix double-compression in ViewVC (Inria)
* SCM SVN: support files with spaces in ViewVC (Inria)
+* SCM SVN: fix permissions in migration script (Inria)
* Plugin scmhook: git commitemail: fix subject, handle special chars (Roland
Mas, for Inria)
* Plugin scmhook: fix hook deactivation (Inria)
* Doc clean-up (Inria)
diff --git a/src/db/20150404-scmperms.php b/src/db/20150404-scmperms.php
index 868ddfd..34e3d1a 100644
--- a/src/db/20150404-scmperms.php
+++ b/src/db/20150404-scmperms.php
@@ -50,10 +50,10 @@ foreach ($groups as $group) {
$repo = "$svnroot/$gname";
if (is_dir($repo)) {
- chmod($repo, $group['anon'] ? 02775 : 02770);
+ chmod($repo, $group['anon'] ? 02755 : 02750);
system("chown -Rh root:{$gid_rw} $repo");
system("chown -h root:{$gid_ro} $repo");
- system("find $repo -type d -print0 | xargs -r -0 chmod 2775");
+ system("find $repo/* -type d -print0 | xargs -r -0 chmod 2775");
system("chmod -R g+rwX,o+rX-w $repo/*");
}
$repo = '/nonexistent'; // for safety
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits