diff --git a/src/launcherlib/booster.cpp b/src/launcherlib/booster.cpp index ed24aa8..5f23cb1 100644 --- a/src/launcherlib/booster.cpp +++ b/src/launcherlib/booster.cpp @@ -521,7 +521,8 @@ void Booster::setEnvironmentBeforeLaunch() } if (getegid() != m_appData->groupId()) { - setgid(m_appData->groupId()); + setresgid(m_appData->groupId(), m_appData->groupId(), + m_appData->groupId()); } }