Error when using owncloud

i have installed owncloud and create the admin account but i have this error message

Your Data directory is readable by other users

Please change the permissions to 0770 so that the directory cannot be listed by other users.

would you have a solution?

Hey,

doesn't this text already contain the solution or am i wrong?

yes but that does not change and add a new error
Your Data directory is not writable by ownCloud

Permissions can usually be fixed by giving the webserver write access to the root directory.

I do like that
cd / var / www / owncloud
chmod 0770 data
is that correct?

chown -R www-data:www-data /var/www/owncloud/

yes thin you so mutch
but what is the difference of my code and your code?

I think you have set a wrong owner / group for the data folder which is corrected by the code posted by @dmitry

think you i finished my server