Das Problem ist bekannt (siehe Buglink, oben).
Hier ist ein kleines Beispielskript. Das könnt ihr in eine PHP-Datei packen, ins Forumverzeichniss hochladen und ausführen. Es macht die Dateien im Verzeichnis "files" world-readable (von jederman lesbar).
Code: Alles auswählen
<?php
$phpbb_root_path = './';
$files_path = $phpbb_root_path . 'files/';
$handle = opendir($files_path);
while (($entry = readdir($handle)) !== false)
{
$file = $files_path . $entry;
// Files only. Ignore hidden files and index file.
if (!is_file($file) || strpos($entry, '.') === 0 || strpos($entry, 'index') === 0)
{
continue;
}
// Make file world-readable. Change it back to whatever you had before (e.g. 0600)
chmod($file, 0644);
}
closedir($handle);
?>
phpBB setzt die Rechte so aus gutem Grund.
Jeder, der im Moment Probleme damit hat, sollte mal drüber nachdenken, ob das Setup seines Servers so auch wirklich sicher ist.
