- Issue created by @tedbow
- First commit to issue fork.
- πΊπΈUnited States phenaproxima Massachusetts
This could be achieved by simply omitting the callback passed to the deleteRecursive function, as the Drupal core function already performs this internally.
Are you sure?
I see this in
\Drupal\Core\File\FileSystem::unlink()
and\Drupal\Core\File\FileSystem::rmdir()
:if (!$this->streamWrapperManager->isValidUri($uri) && str_starts_with(PHP_OS, 'WIN')) { chmod($uri, 0700); }
Soooo...it's only chmodding if we're on Windows?
- Merge request !1055Remove deleteRecursive callback, but I think it might still be needed. Let us... β (Merged) created by phenaproxima
- Assigned to tedbow
- Status changed to Needs review
12 months ago 6:13pm 10 April 2024 - Assigned to phenaproxima
- Status changed to Needs work
12 months ago 6:26pm 10 April 2024 - Assigned to tedbow
- Status changed to Needs review
12 months ago 6:29pm 10 April 2024 - πΊπΈUnited States phenaproxima Massachusetts
It...it doesn't. It only does that if the operating system is Windows.
I pointed that out in #4.
- Status changed to RTBC
12 months ago 6:59pm 10 April 2024 -
phenaproxima β
committed 235da54a on 3.0.x
Issue #3429268: Chmod 0777 race condition during staging operations
-
phenaproxima β
committed 235da54a on 3.0.x
- Issue was unassigned.
- Status changed to Fixed
12 months ago 7:20pm 10 April 2024 -
phenaproxima β
committed 0d392395 on 3.1.x
Issue #3429268: Chmod 0777 race condition during staging operations
-
phenaproxima β
committed 0d392395 on 3.1.x
Automatically closed - issue fixed for 2 weeks with no activity.