/[smecontribs]/rpms/smeserver-shared-folders/contribs9/smeserver-shared-folders-0.1-set_www_user_acls.patch
ViewVC logotype

Annotation of /rpms/smeserver-shared-folders/contribs9/smeserver-shared-folders-0.1-set_www_user_acls.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Mon Nov 11 19:36:30 2013 UTC (11 years ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
cleaning tree from patchs

1 vip-ire 1.1 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
2     --- smeserver-shared-folders-0.1/root/etc/e-smith/events/actions/share-modify 2012-06-19 22:08:23.788834057 +0200
3     +++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/events/actions/share-modify 2012-06-19 22:20:48.169250014 +0200
4     @@ -95,6 +95,7 @@
5     my @writeusers = split(/[;,]/,($properties {'WriteUsers'} || ''));
6     my @readusers = split(/[;,]/,($properties {'ReadUsers'} || ''));
7     my $rsync = $properties{'rsyncAccess'} || 'none';
8     +my $ajaxplorer = $properties{'Ajaxplorer'} || 'disabled';
9    
10     # Don't reset permissions if ManualPermissions is set to 'yes'
11    
12     @@ -127,6 +128,7 @@
13     $acl .= 'u:'.$user.':rX,';
14     }
15     $acl .= 'u:rsync:rX,' if ($rsync =~ /^local|global$/);
16     + $acl .= 'u:www:rwX,' unless (($http eq 'none') && ($ajaxplorer ne 'enabled'));
17    
18     # Set the effective ACLs
19     system($setfacl,
20     @@ -161,6 +163,7 @@
21     $acl .= 'u:'.$user.':rX,';
22     }
23     $acl .= 'u:rsync:rX,' if ($rsync =~ /^local|global$/);
24     + $acl .= 'u:www:rX,' unless (($http eq 'none') && ($ajaxplorer ne 'enabled'));
25    
26     system($setfacl,
27     '-m',

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed