Je préfére mourir que de m'installer sur un truc sans ACL !

This commit is contained in:
Alan Garcia 2011-05-23 16:17:52 +00:00
parent 1e11297753
commit d79a1a821d
1 changed files with 5 additions and 0 deletions

View File

@ -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