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 2011-11-08 08:41:01.000000000 +0100 +++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/events/actions/share-modify 2011-11-08 14:35:03.000000000 +0100 @@ -101,14 +101,9 @@ '-R', '--remove-all', '--remove-default', + '--physical', '.'); - # Remove all execute permission - system('/bin/chmod', - '-R', - 'a-x', - '.'); - # make admin the group owner of everything system('/bin/chgrp', '-R', @@ -126,6 +121,7 @@ # Set the effective ACLs system($setfacl, '-R', + '--physical', '-m', $acl, '--', @@ -134,6 +130,7 @@ # Set the default ACL system($setfacl, '-R', + '--physical', '-d', '--set', $acl,