- First commit to issue fork.
- @rashmisoni opened merge request.
- Status changed to Needs work
over 1 year 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?