Permissions issues on Symfony2
===

This question has been asked several times but any of the solutions fix it in my computer.

Im running Apache on Lion Mac OSX.
When I get to `http://localhost/Symfony/web/config.php` I have 2 Major Problems:

    Change the permissions of the "app/cache/" directory so that the web server can write into it.
    Change the permissions of the "app/logs/" directory so that the web server can write into it.

Following the guide I do:

    rm -rf app/cache/*
    rm -rf app/logs/*
    sudo chmod +a "_www allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
    sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs

Which doesnt solve the problems, then I try 

> sudo chmod -R 777 app/cache

Which still doesnt fix it, any ideas how to fix this?

Thanks.