From bd3dbc04ff2effb9584155c810c64e5e11c95f41 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 17 Dec 2008 19:59:44 +0100 Subject: [PATCH] system: Add acl-aware perl wrapper. By default, permission checks in perl only use the normal mode bits, instead of the access(2) function. Adding "use filetest 'access';" to the program, or the equivalent "-mfiletest=access" to the commandline, we get proper behaviour when ACLs are involved. --- usr/local/bin/aclperl | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 usr/local/bin/aclperl diff --git a/usr/local/bin/aclperl b/usr/local/bin/aclperl new file mode 100755 index 0000000..75911b7 --- /dev/null +++ b/usr/local/bin/aclperl @@ -0,0 +1,2 @@ +#!/bin/sh +exec perl -mfiletest=access $@ -- 2.30.2