chmod() and touch() operations not permitted After updating drupal8 for 8.7.0 and then to 8.7.1 versions i have next errors:

Warning: chmod(): Operation not permitted in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage-&gt;save() (line 76 of core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php).
Warning: touch(): Utime failed: Operation not permitted in Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage-&gt;save() (line 100 of core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php).

This errors appears for all twig templates and only at first time page loaded. For second and other times no errors and template created in cache folder.
I set 777 permission for all files. Checked files owner. Was Reading many forums and nothing ...
I fixed this problem by updating owner of files, groups only not enough. Before i has owner as vagrant and group as www-data and now www-data for both.

But it's still strange for my. If i refresh page sometimes file generated and created anyway and warnings went one.