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

Contents of /rpms/smeserver-shared-folders/contribs9/smeserver-shared-folders-0.1-fix_www_access.patch

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


Revision 1.2 - (show annotations) (download)
Mon Nov 11 19:36:27 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 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