Skip to content
Snippets Groups Projects

Remove deleteRecursive callback, but I think it might still be needed. Let us...

Merged Adam G-H requested to merge issue/automatic_updates-3429268:3429268-chmod-0777-race into 3.0.x
1 unresolved thread
@@ -53,7 +53,9 @@ final class Cleaner extends QueueWorkerBase implements ContainerFactoryPluginInt
assert(is_string($dir));
if (file_exists($dir)) {
$this->fileSystem->deleteRecursive($dir);
$this->fileSystem->deleteRecursive($dir, function (string $path): void {
$this->fileSystem->chmod($path, is_dir($path) ? 0700 : 0600);
});
}
}
Loading