diff --git a/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/__user__/rights.ser/10All b/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/__user__/rights.ser/10All index abb9cba..a2c5e0b 100644 --- a/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/__user__/rights.ser/10All +++ b/root/etc/e-smith/templates/var/lib/ajaxplorer/plugins/auth.serial/__user__/rights.ser/10All @@ -27,7 +27,7 @@ foreach my $share (@s){ foreach (@readusers){ $data->{$sharename} = 'r' if ( $_ eq $id ); } - foreach (@writegroups){ + foreach (@writeusers){ $data->{$sharename} = 'rw' if ( $_ eq $id ); } $data->{'ajxp.admin'} = ($id eq 'admin') ? 1:0;