* Tue Dec 31 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-19.sme

- fix www removed from shared on group creation [SME: 12848]
This commit is contained in:
Jean-Philippe Pialasse 2024-12-31 03:29:03 -05:00
parent 3e5231bf84
commit 5b938b2987
3 changed files with 12 additions and 7 deletions

View File

@ -137,7 +137,9 @@ foreach my $member (@groupMembers)
# new group to the list. Finally sort, join and run the usermod # new group to the list. Finally sort, join and run the usermod
# function to update the group list for this member. # function to update the group list for this member.
my $cmd = "/usr/bin/id -G -n '$member'"; #my $cmd = "/usr/bin/id -G -n '$member'";
# this will not fail in case of apache aliase before www in passwd
my $cmd = "/usr/bin/groups '$member' 2>/dev/null | cut -d' ' -f3- ";
my $groups = `$cmd 2>/dev/null`; my $groups = `$cmd 2>/dev/null`;
if ($? != 0) if ($? != 0)
{ {

View File

@ -132,7 +132,7 @@ foreach my $group (@groups)
# deleting. # deleting.
#my $cmd = "/usr/bin/id -G -n '$member'"; #my $cmd = "/usr/bin/id -G -n '$member'";
# this will not fail in case of apache before www in passwd # this will not fail in case of apache before www in passwd
my $cmd = "/usr/bin/groups '$member'"; my $cmd = "/usr/bin/groups '$member' 2>/dev/null | cut -d' ' -f3- ";
my $groups = `$cmd 2>/dev/null`; my $groups = `$cmd 2>/dev/null`;
if ($? != 0) if ($? != 0)
{ {

View File

@ -4,7 +4,7 @@ Summary: smeserver server and gateway - base module
%define name smeserver-base %define name smeserver-base
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 18 %define release 19
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -184,6 +184,9 @@ fi
%changelog %changelog
* Tue Dec 31 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-19.sme
- fix www removed from shared on group creation [SME: 12848]
* Mon Dec 23 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-18.sme * Mon Dec 23 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-18.sme
- add vlan support on External Interface [SME: 12677] - add vlan support on External Interface [SME: 12677]
- fix typo [SME: 12763] - fix typo [SME: 12763]