Page MenuHomePhabricator

Some maintenance scripts wrongly invalidate and recreate l10n cache files
Open, LowPublicBUG REPORT

Description

Though I'm not sure exactly which maintenance scripts recreate the cache, dumpBackup.php definitely does.

Many environments run backups as a user other than the web user. When the backups run, the cache file can be recreated with invalid ownership and permissions.

This issue can be worked around by disabling the cache for maintenance scripts:

if ( $wgCommandLineMode ) { $wgCacheDirectory = false; }

However, it would be optimal for the maintenance scripts to not have this behavior.


Version: 1.16.x
Severity: major

Details

Reference
bz24672

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:01 PM
bzimport set Reference to bz24672.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper changed the subtype of this task from "Task" to "Bug Report".Feb 6 2022, 7:18 PM
Aklapper removed a subscriber: wikibugs-l-list.