Thank you for a quick reply.
One never stop learning. ??
I thought it is enough to add www-data to that group.
As www-data is the user that web server on Ubuntu (Apache) use by default, what I have to do is change the owner to www-data with
chown -R www-data:group1 /var/www/webfolder/
right?