transmit group set to a child under SUN Solaris
Posted on 2002-03-13
SUN Solaris 'exec' system call reset the current group set.
Does anybody know aworkaround for this?
the following chunk of code well explain the problem: the child process does not inherit the additional group. Under Linux and AIX it does, that is the code below works fine.
/* Add a group to array of groups */
array_of_gids[ngroups++]= <any group number you like>;
thank you all