1 |
diff -Nur e-smith-base-5.4.0/root/etc/e-smith/events/actions/group-create-unix e-smith-base-5.4.0-apache_vs_www/root/etc/e-smith/events/actions/group-create-unix |
2 |
--- e-smith-base-5.4.0/root/etc/e-smith/events/actions/group-create-unix 2013-01-31 16:52:04.000000000 +0100 |
3 |
+++ e-smith-base-5.4.0-apache_vs_www/root/etc/e-smith/events/actions/group-create-unix 2013-06-14 12:45:51.146298871 +0200 |
4 |
@@ -167,6 +167,8 @@ |
5 |
|
6 |
my @groupList = split (/\s+/, $groups); |
7 |
@groupList = grep (!/^$member$/, @groupList); |
8 |
+ # Apache is an alias for www |
9 |
+ @groupList = map { $_ =~ s/^apache$/www/g; $_ } @groupList; |
10 |
|
11 |
push @groupList, $groupName; |
12 |
|
13 |
diff -Nur e-smith-base-5.4.0/root/etc/e-smith/events/actions/group-modify-unix e-smith-base-5.4.0-apache_vs_www/root/etc/e-smith/events/actions/group-modify-unix |
14 |
--- e-smith-base-5.4.0/root/etc/e-smith/events/actions/group-modify-unix 2013-01-31 16:52:04.000000000 +0100 |
15 |
+++ e-smith-base-5.4.0-apache_vs_www/root/etc/e-smith/events/actions/group-modify-unix 2013-06-14 12:47:03.024182830 +0200 |
16 |
@@ -138,6 +138,8 @@ |
17 |
|
18 |
my @groupList = split (/\s+/, $groups); |
19 |
@groupList = grep (!/^$member$/, @groupList); |
20 |
+ # Apache is an alias for www |
21 |
+ @groupList = map { $_ =~ s/^apache$/www/g; $_ } @groupList; |
22 |
|
23 |
if ($oldMembers{$member}) |
24 |
{ |