Your data directory is not writable.

I am installing elgg on a vps. After configuring the database settings I created a data file and changed the permission to 777. Now I still receive the next message  "Your data directory /var/www/vhosts/xxxxxx.nl/data/ is not writable" What did I wrong?