group not correctly set

Version 1.49


In a few places when setting the process to an effective group, the group was set after the unprivileged effective user was set, so the group couldn't get set. Fix was to ensure the group is set first (while euid=0), then set the user after.

Interested to try DirectAdmin? Get a 30-day Free Trial!