Skip to content
  • Leigh B. Stoller's avatar
    Small change to suexec code. This change has the potential for creating · 7e731fba
    Leigh B. Stoller authored
    unanticipated breakage. If that happens, just need to back out the
    changes under the "suexec-stuff" tag. However, the better solution will
    probably be to fix the PHP scripts that break by adding the proper
    groups in the call to suexec (in the web page, see below) or by fixing
    the backend Perl script that breaks.
    
    This fix is primarily to address the problem of some users being in more
    groups (cause of subgroups) then the max number of groups allowed
    (NGROUPS).  The groups that really mattered (say, for creating an
    experiment in a subgroup) could be left out cause they were at the end
    of the list.
    
    * suexec.c: Change how groups are handled. Instead of taking a single
      gid argument (the gid to setgid as), now takes a comma separated list
      of groups. Further, instead of doing a setgroups to the user's entire
      group list as specified in the groups file (getgroups), setgroups to
      just the groups listed on the command line, plus the user...
    7e731fba