diff -Nur smeserver-shared-folders-0.1/root/etc/e-smith/events/actions/share-modify smeserver-shared-folders-0.1_mod/root/etc/e-smith/events/actions/share-modify --- smeserver-shared-folders-0.1/root/etc/e-smith/events/actions/share-modify 2012-06-19 22:08:23.788834057 +0200 +++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/events/actions/share-modify 2012-06-19 22:20:48.169250014 +0200 @@ -95,6 +95,7 @@ my @writeusers = split(/[;,]/,($properties {'WriteUsers'} || '')); my @readusers = split(/[;,]/,($properties {'ReadUsers'} || '')); my $rsync = $properties{'rsyncAccess'} || 'none'; +my $ajaxplorer = $properties{'Ajaxplorer'} || 'disabled'; # Don't reset permissions if ManualPermissions is set to 'yes' @@ -127,6 +128,7 @@ $acl .= 'u:'.$user.':rX,'; } $acl .= 'u:rsync:rX,' if ($rsync =~ /^local|global$/); + $acl .= 'u:www:rwX,' unless (($http eq 'none') && ($ajaxplorer ne 'enabled')); # Set the effective ACLs system($setfacl, @@ -161,6 +163,7 @@ $acl .= 'u:'.$user.':rX,'; } $acl .= 'u:rsync:rX,' if ($rsync =~ /^local|global$/); + $acl .= 'u:www:rX,' unless (($http eq 'none') && ($ajaxplorer ne 'enabled')); system($setfacl, '-m',