projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f1f1ed
)
Obtain user's extra groups so as to be able to chgrp
author
Roland Mas
<lolando@debian.org>
Tue, 26 Feb 2013 15:52:50 +0000
(16:52 +0100)
committer
Roland Mas
<lolando@debian.org>
Tue, 26 Feb 2013 15:52:50 +0000
(16:52 +0100)
src/plugins/scmgit/common/GitPlugin.class.php
patch
|
blob
|
history
diff --git
a/src/plugins/scmgit/common/GitPlugin.class.php
b/src/plugins/scmgit/common/GitPlugin.class.php
index 86901aaea20c8e0ca99ec0a7157111eb71f01a8e..168c55a93caf9138404ce535bbaed9a843ddae5d 100644
(file)
--- a/
src/plugins/scmgit/common/GitPlugin.class.php
+++ b/
src/plugins/scmgit/common/GitPlugin.class.php
@@
-280,7
+280,7
@@
class GitPlugin extends SCMPlugin {
$root = $params['root'];
$repodir = $root . '/users/' . $user_name . '.git' ;
-
chgrp ($repodir, $unix_group
);
+
system("su - $user_name -c 'chgrp $unix_group $repodir'"
);
if ($project->enableAnonSCM()) {
chmod ($repodir, 02755);
} else {