From f4eac6c86f9b52acd273b99cb036d1bd6f2d7a0a Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 12 Aug 2020 11:20:24 +0200 Subject: [PATCH] [users] Create all the groups needed for the user - 26b8c82630 added the list of all-the-groups-for-the-user, but didn't change the list passed to the method that creates groups. FIXES #1488 --- src/modules/users/CreateUserJob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/users/CreateUserJob.cpp b/src/modules/users/CreateUserJob.cpp index 6ccd678cc..9a61c5d9e 100644 --- a/src/modules/users/CreateUserJob.cpp +++ b/src/modules/users/CreateUserJob.cpp @@ -196,7 +196,7 @@ CreateUserJob::exec() { groupsForThisUser << gs->value( "autologinGroup" ).toString(); } - ensureGroupsExistInTarget( m_defaultGroups, availableGroups ); + ensureGroupsExistInTarget( groupsForThisUser, availableGroups ); // If we're looking to reuse the contents of an existing /home. // This GS setting comes from the **partitioning** module.