Set ACL on scan share recursivly

tags/ipasserelle-base-0.2.65-1
Daniel Berteaud 12 years ago
parent c9ac1c41f9
commit 3f51bf745e
  1. 3
      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");
}

Loading…
Cancel
Save