This commit is contained in:
2024-03-14 16:00:28 -04:00
parent 097e08312b
commit 9a56b9e87b
8 changed files with 9 additions and 71 deletions

View File

@@ -39,7 +39,7 @@ my ($user, $colon, @old_groups) = split(' ', `/usr/bin/groups $userName`);
# actions for all these groups
my %modified_groups = map { $_, 1 } @old_groups, $acctdb->user_group_list($userName);
# but omit "shared" and user private group
foreach ('shared', $userName, 'rsshusers')
foreach ('shared', $userName)
{
delete $modified_groups{$_} if exists $modified_groups{$_};
}