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 2011-11-08 08:41:01.000000000 +0100 |
3 |
|
|
+++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/events/actions/share-modify 2011-11-08 14:35:03.000000000 +0100 |
4 |
|
|
@@ -101,14 +101,9 @@ |
5 |
|
|
'-R', |
6 |
|
|
'--remove-all', |
7 |
|
|
'--remove-default', |
8 |
|
|
+ '--physical', |
9 |
|
|
'.'); |
10 |
|
|
|
11 |
|
|
- # Remove all execute permission |
12 |
|
|
- system('/bin/chmod', |
13 |
|
|
- '-R', |
14 |
|
|
- 'a-x', |
15 |
|
|
- '.'); |
16 |
|
|
- |
17 |
|
|
# make admin the group owner of everything |
18 |
|
|
system('/bin/chgrp', |
19 |
|
|
'-R', |
20 |
|
|
@@ -126,6 +121,7 @@ |
21 |
|
|
# Set the effective ACLs |
22 |
|
|
system($setfacl, |
23 |
|
|
'-R', |
24 |
|
|
+ '--physical', |
25 |
|
|
'-m', |
26 |
|
|
$acl, |
27 |
|
|
'--', |
28 |
|
|
@@ -134,6 +130,7 @@ |
29 |
|
|
# Set the default ACL |
30 |
|
|
system($setfacl, |
31 |
|
|
'-R', |
32 |
|
|
+ '--physical', |
33 |
|
|
'-d', |
34 |
|
|
'--set', |
35 |
|
|
$acl, |