- ๐ฎ๐ณIndia rassoni Bangalore
Rashmisoni โ made their first commit to this issueโs fork.
- @rashmisoni opened merge request.
- Status changed to Needs work
almost 2 years ago 1:08pm 17 February 2023 - ๐ฌ๐งUnited Kingdom catch
+++ b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php @@ -243,37 +243,34 @@ public function stream_cast($cast_as) { case STREAM_META_ACCESS: $return = chmod($target, $value); + if ($return) { + // For convenience clear the file status cache of the underlying file, + // since metadata operations are often followed by file status checks. + clearstatcache(TRUE, $target); + return TRUE; + } break;
The issue title and summary says remove the call, but this is moving it around - can we not remove it entirely?