/[smecontribs]/rpms/smeserver-shared-folders/contribs8/smeserver-shared-folders-0.1-fix_www_access.patch
ViewVC logotype

Annotation of /rpms/smeserver-shared-folders/contribs8/smeserver-shared-folders-0.1-fix_www_access.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Mar 3 22:04:39 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_1-80_el5_sme, smeserver-shared-folders-0_1-83_el5_sme, smeserver-shared-folders-0_1-84_el5_sme, smeserver-shared-folders-0_1-82_el5_sme, smeserver-shared-folders-0_1-87_el5_sme, smeserver-shared-folders-0_1-86_el5_sme, smeserver-shared-folders-0_1-81_el5_sme, smeserver-shared-folders-0_1-85_el5_sme, smeserver-shared-folders-0_1-79_el5_sme, HEAD
Initial import

1 unnilennium 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 2010-12-15 08:46:06.000000000 +0100
3     +++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/events/actions/share-modify 2010-12-15 12:48:19.000000000 +0100
4     @@ -79,8 +79,10 @@
5     chdir "/home/e-smith/files/shares/$shareName"
6     or die "Could not chdir to /home/e-smith/files/shares/$shareName";
7    
8     +my $http = $share->prop('httpAccess') || 'none';
9     +my $groupowner = ($http eq 'none') ? 'root' : 'www';
10    
11     -esmith::util::chownFile("root", "root", ".");
12     +esmith::util::chownFile("root", "$groupowner", ".");
13     chmod 0750, ".";
14    
15     #--------------------------------------------------

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