From 3f51bf745e52d9569cd026c713e22bc510eff995 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 6 Nov 2012 14:53:21 +0100 Subject: [PATCH] Set ACL on scan share recursivly --- root/etc/e-smith/events/actions/share-modify-scan | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/etc/e-smith/events/actions/share-modify-scan b/root/etc/e-smith/events/actions/share-modify-scan index 3ff3910..5c1b801 100644 --- a/root/etc/e-smith/events/actions/share-modify-scan +++ b/root/etc/e-smith/events/actions/share-modify-scan @@ -42,8 +42,9 @@ else { mkdir "/home/e-smith/files/scan/$name", 0700; } system ("$setfacl", + '-R', '-m', - "u:scanner:rwX,u:$name:rwX,d:u:$name:rwX", + "u:scanner:w,u:$name:rwX,d:u:$name:rwX", '--', "/home/e-smith/files/scan/$name"); }