Commit 1ea32e42 authored by Leigh Stoller's avatar Leigh Stoller

Minor change to addpubkeys call.

parent ab2b24ca
......@@ -155,7 +155,7 @@ function SUEXEC($uid, $gid, $cmdandargs, $die) {
$foo .= "$output[$i]\n";
}
TBERROR("SUEXEC failure: '$cmdandargs'\n".
TBERROR("SUEXEC failure: '$uid/$gid $cmdandargs'\n".
"Error output:\n\n".
"$foo", $die, 1);
}
......
......@@ -499,7 +499,7 @@ if (!$returning) {
}
else {
$addpubkeyargs = "$joining_uid $usr_keyfile";
chmod($usr_keyfile, 0640);
chmod($usr_keyfile, 0644);
}
}
}
......
......@@ -739,7 +739,7 @@ if (!$returning) {
}
else {
$addpubkeyargs = "$proj_head_uid $usr_keyfile";
chmod($usr_keyfile, 0640);
chmod($usr_keyfile, 0644);
}
}
#
......
......@@ -259,7 +259,7 @@ if (isset($usr_keyfile) &&
}
else {
$addpubkeyargs = "$target_uid $usr_keyfile";
chmod($usr_keyfile, 0640);
chmod($usr_keyfile, 0644);
}
}
......
......@@ -717,7 +717,7 @@ if (!$returning) {
}
else {
$addpubkeyargs = "$usr_uid $usr_keyfile";
chmod($usr_keyfile, 0640);
chmod($usr_keyfile, 0644);
}
}
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment