The child process will run with the specified user ID, which affects file
access permissions and process ownership. This calls setuid(2) in the child
process after fork() but before exec().
The child process will run with the specified group ID, which affects file
access permissions based on group ownership. This calls setgid(2) in the
child process after fork() but before exec().