create cache and logs directories before setting up the ACL