From d79a1a821dc24a2589e14d10cc5614a87dd52905 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Mon, 23 May 2011 16:17:52 +0000 Subject: [PATCH] =?UTF-8?q?Je=20pr=C3=A9f=C3=A9re=20mourir=20que=20de=20m'?= =?UTF-8?q?installer=20sur=20un=20truc=20sans=20ACL=20!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/alternc.install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/alternc.install b/install/alternc.install index d00f4511..443d9f2c 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -95,6 +95,11 @@ fi . /etc/alternc/local.sh +# Check ACL +aclcheckfile="$ALTERNC_LOC/test-acl" +touch "$aclcheckfile" +setfacl -m u:root:rwx "$aclcheckfile" 2>/dev/null || ( echo "Error : ACL aren't activated on $ALTERNC_LOC . AlternC can't work without it." ; exit 2) + # XXX: copy-paste from debian/config if [ -r /etc/alternc/my.cnf ]; then # make mysql configuration available as shell variables