On my site, I am getting this warning.
Alert: User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 123 of core/lib/Drupal/Component/PhpStorage/FileStorage.php).
I want to debug or get the exact path and directory where Drupal is trying to create the directory.
I tried changing the file permissions for sites/default/files with
chmod -R 777 path, without success.
How can I debug it?