_provision_drupal_create_directories should probably clear the PHP stat cache

Created on 10 April 2024, 9 months ago
Updated 24 April 2024, 8 months ago

Problem/Motivation

I've been playing around with Aegir and PHP 8 and Drupal 10, and on verify some of the directories get deleted and have odd permissions.
This causes issues for _provision_drupal_create_directories and it emits warnings.

Steps to reproduce

Verify a Drupal 10 site, in Aegir 3.

Proposed resolution

Add a call to clearstatcache() to the top of _provision_drupal_create_directories so that it's operating on up-to-date information about the filesystem.

Remaining tasks

Make a patch, commit it.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom steven jones

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024