Commit c9b1f341 authored by Leigh Stoller's avatar Leigh Stoller

Possible fix for mismatching pid_idx between inner and outer elab.

parent 5edfde4a
......@@ -27,6 +27,7 @@ my $TB = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@";
my $ELABINELAB = @ELABINELAB@;
my $SAVEUID = $UID;
my $TBOPSPID = TBOPSPID();
# un-taint path
$ENV{'PATH'} = '/bin:/usr/bin:/usr/sbin:/usr/local/bin';
......@@ -82,6 +83,10 @@ else {
die("Tainted argument $pid!\n");
}
# Temporary ...
DBQueryFatal("update group_membership set pid_idx=1,gid_idx=1 ".
"where pid='$TBOPSPID' and pid=gid");
#
# Shift to real user for these scripts.
#
......
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