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:
ddaa4e3
)
Obtain user's extra groups so as to be able to chgrp
author
Roland Mas
<lolando@debian.org>
Tue, 26 Feb 2013 15:48:01 +0000
(16:48 +0100)
committer
Roland Mas
<lolando@debian.org>
Tue, 26 Feb 2013 15:48:01 +0000
(16:48 +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 ee0e2237ee238c52e7d4e932b009735a9f9b72a7..5d47fceb80b015190e26b57ee060a64601cf2f8b 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 {