1 |
diff -Nur smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares smeserver-shared-folders-0.1_mod/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares |
2 |
--- smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares 2012-02-18 00:56:46.000000000 +0100 |
3 |
+++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess50shares 2012-02-18 01:02:44.000000000 +0100 |
4 |
@@ -48,6 +48,11 @@ |
5 |
if ($properties{'ReadUsers'}) { |
6 |
my @users = split (/[;,]/, $properties{'ReadUsers'}); |
7 |
push @readers, @users; |
8 |
+ my @temp = (); |
9 |
+ foreach my $u (@writers){ |
10 |
+ push @temp, $u unless grep { $u eq $_ } @users; |
11 |
+ } |
12 |
+ @writers = @temp; |
13 |
} |
14 |
|
15 |
my %seen = (); |