data directory /htdocs/data/ is not writable.

I'm felling silly, but even with the permission 777 (in/htdocs/data/) elgg returns it...

The install directories are /htdocs/elgg/ and /htdocs/data/.

The database is ok.

I'm installing on an site outside the workplace and the tests for php and rwrite worked. Any suggests?

 

Thank you