[users] The fallback groups are all **system** groups

This commit is contained in:
Adriaan de Groot 2020-10-13 22:58:30 +02:00
parent b20c80a28c
commit ff9abdfc08

View File

@ -608,7 +608,7 @@ setConfigurationDefaultGroups( const QVariantMap& map, QList< GroupDescription >
cWarning() << "Using fallback groups. Please check *defaultGroups* value in users.conf"; cWarning() << "Using fallback groups. Please check *defaultGroups* value in users.conf";
for ( const auto& s : { "lp", "video", "network", "storage", "wheel", "audio" } ) for ( const auto& s : { "lp", "video", "network", "storage", "wheel", "audio" } )
{ {
defaultGroups.append( GroupDescription( s ) ); defaultGroups.append( GroupDescription( s, GroupDescription::CreateIfNeeded{}, GroupDescription::SystemGroup{} ) );
} }
} }
} }