Merge pull request #284 from Fraenkiman/File-and-directory-permissions-adjusted
File and directory permissions lowered - The tag plugin requires write permissions in fp-content and fp-content/cache. Therefore 0775 was set too strict.
This commit is contained in:
commit
c75847dccf
14
defaults.php
14
defaults.php
@ -16,10 +16,12 @@
|
||||
|
||||
// legacy mode; needed with some ill-formed spb files
|
||||
define('DUMB_MODE_ENABLED', false);
|
||||
|
||||
// default file permissions
|
||||
// change file to 644 and dir to 755 if your webserver "complains"
|
||||
define('FILE_PERMISSIONS', 0775);
|
||||
define('DIR_PERMISSIONS', 0775);
|
||||
// change file to 776 and dir to 776 if your webserver "complains"
|
||||
// Note: Lowering the directory and file permissions may result in FlatPress or some additional plugins not working correctly.
|
||||
define('FILE_PERMISSIONS', 0776);
|
||||
define('DIR_PERMISSIONS', 0776);
|
||||
|
||||
// first some webserver setup...
|
||||
|
||||
@ -36,10 +38,10 @@ define('ABS_PATH', dirname(__FILE__) . '/');
|
||||
define('FP_DEFAULTS', 'fp-defaults/');
|
||||
|
||||
// all writable directories go here.
|
||||
define('FP_CONTENT', 'fp-content/'); // must be chmodded to 0775
|
||||
define('FP_CONTENT', 'fp-content/'); // must be chmodded to 0776
|
||||
|
||||
// blog configurations files
|
||||
define('CONFIG_DIR', FP_CONTENT . 'config/'); // must be chmodded to 0775
|
||||
define('CONFIG_DIR', FP_CONTENT . 'config/'); // must be chmodded to 0776
|
||||
define('CONFIG_FILE', CONFIG_DIR . 'settings.conf.php');
|
||||
|
||||
/**
|
||||
@ -80,7 +82,7 @@ define('PLUGINS_DIR', 'fp-plugins/');
|
||||
define('ADMIN_DIR', 'admin/');
|
||||
|
||||
// cache file name and path.
|
||||
define('CACHE_DIR', FP_CONTENT . 'cache/');
|
||||
define('CACHE_DIR', FP_CONTENT . 'cache/'); // must be chmodded to 0776
|
||||
define('CACHE_FILE', '%%cached_list.php');
|
||||
|
||||
define('INDEX_DIR', FP_CONTENT . 'index/');
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Ukázat informace o PHP',
|
||||
'opt5' => 'Zjistit aktualizace',
|
||||
|
||||
'chmod_info' => 'Následující oprávnění <strong>nemůžou být</strong> resetované na 0775; pravděpodobně vlastník souborů není stejná osoba jako vlastník webu. ' . //
|
||||
'chmod_info' => 'Následující oprávnění <strong>nemůžou být</strong> resetované na 0776; pravděpodobně vlastník souborů není stejná osoba jako vlastník webu. ' . //
|
||||
'Případně můžete ignorovat toto oznámení.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Vis PHP-information om webserveren',
|
||||
'opt5' => 'Tjek for nye versioner',
|
||||
|
||||
'chmod_info' => 'Filadgangsrettighederne <strong>kunne ikke være nulstilles til standardværdierne på 0775.' . //
|
||||
'chmod_info' => 'Filadgangsrettighederne <strong>kunne ikke være nulstilles til standardværdierne på 0776.' . //
|
||||
'Normalt kan du ignorere dette tip.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Zeige PHP-Informationen des Webservers',
|
||||
'opt5' => 'Prüfe auf neue Versionen',
|
||||
|
||||
'chmod_info' => 'Die Dateizugriffsrechte <strong>konnten nicht</strong> auf die Default Werte von 0775 zurückgesetzt werden. ' . //
|
||||
'chmod_info' => 'Die Dateizugriffsrechte <strong>konnten nicht</strong> auf die Default Werte von 0776 zurückgesetzt werden. ' . //
|
||||
'Normalerweise kann man diesen Hinweis ignorieren.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Εμφάνιση πληροφοριών σχετικά με την PHP',
|
||||
'opt5' => 'Έλεγχος για αναβαθμίσεις',
|
||||
|
||||
'chmod_info' => 'Τα ακόλουθα δικαιώματα αρχείων <strong>δεν μπόρεσαν</strong> να επανέλθουν σε 0775; πιθανότατα ο ιδιοκτήτης των αρχείων δεν είναι ο ίδιος με τον ιδιοκτήτη του διακομιστή. ' . //
|
||||
'chmod_info' => 'Τα ακόλουθα δικαιώματα αρχείων <strong>δεν μπόρεσαν</strong> να επανέλθουν σε 0776; πιθανότατα ο ιδιοκτήτης των αρχείων δεν είναι ο ίδιος με τον ιδιοκτήτη του διακομιστή. ' . //
|
||||
'Συνήθως αυτή η ειδοποίηση μπορεί να αγνοηθεί.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Show info about PHP',
|
||||
'opt5' => 'Check for updates',
|
||||
|
||||
'chmod_info' => 'The following file permissions <strong>could not</strong> be reset to 0775; probably file owner is not the same as the webserver\'s. ' . //
|
||||
'chmod_info' => 'The following file permissions <strong>could not</strong> be reset to 0776; probably file owner is not the same as the webserver\'s. ' . //
|
||||
'Usually you can ignore this notice.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Mostrar información sobre PHP',
|
||||
'opt5' => 'Buscar actualizaciones',
|
||||
|
||||
'chmod_info' => 'Los siguientes permisos de archivo <strong>no pudieron</strong> ser reiniciados a 0775; probablemente el propietario del archivo no sea el mismo que el del servidor web. ' . //
|
||||
'chmod_info' => 'Los siguientes permisos de archivo <strong>no pudieron</strong> ser reiniciados a 0776; probablemente el propietario del archivo no sea el mismo que el del servidor web. ' . //
|
||||
'Por lo general, puede ignorar este aviso.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Afficher info.php',
|
||||
'opt5' => 'Vérifier les mises à jour',
|
||||
|
||||
'chmod_info' => 'Les permissions de fichiers (chmod) <strong>ne sont peut-être pas</strong> à 0775; propriétaire du fichier peut-ê' . //
|
||||
'chmod_info' => 'Les permissions de fichiers (chmod) <strong>ne sont peut-être pas</strong> à 0776; propriétaire du fichier peut-ê' . //
|
||||
'tre différent du serveur web.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Visualizza informazioni su PHP',
|
||||
'opt5' => 'Controllo aggiornamenti',
|
||||
|
||||
'chmod_info' => 'I seguenti permessi dei file <strong>non possono</strong> essere ripristinati a 0775; probabilmente il proprietario non è lo stesso del server web. ' . //
|
||||
'chmod_info' => 'I seguenti permessi dei file <strong>non possono</strong> essere ripristinati a 0776; probabilmente il proprietario non è lo stesso del server web. ' . //
|
||||
'Di solito puoi ignorare questo avviso.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'PHP情報を表示します',
|
||||
'opt5' => 'アップデートをチェックします',
|
||||
|
||||
'chmod_info' => '次のファイルのパーミッションを 0775 にリセット<strong>できません</strong>; おそらく、ファイルの所有権者とウェブサーバの権限が異なるのでしょう。' . //
|
||||
'chmod_info' => '次のファイルのパーミッションを 0776 にリセット<strong>できません</strong>; おそらく、ファイルの所有権者とウェブサーバの権限が異なるのでしょう。' . //
|
||||
'でも通常、この通知を無視することができます。'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Toon info over PHP',
|
||||
'opt5' => 'Controleren op updates',
|
||||
|
||||
'chmod_info' => 'De volgende bestandsmachtigingen <strong>kan niet</strong> worden teruggezet naar 0775; waarschijnlijk is de bestandseigenaar niet hetzelfde als de webserver\'s. ' . //
|
||||
'chmod_info' => 'De volgende bestandsmachtigingen <strong>kan niet</strong> worden teruggezet naar 0776; waarschijnlijk is de bestandseigenaar niet hetzelfde als de webserver\'s. ' . //
|
||||
'Meestal kunt u deze kennisgeving negeren.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Mostre as informações sobre o PHP',
|
||||
'opt5' => 'Procure atualizações',
|
||||
|
||||
'chmod_info' => 'As seguintes permissões de arquivo <strong>não puderam</strong> ser redefinidas para 0775; provavelmente o proprietário do arquivo não é o mesmo do servidor da web. ' . //
|
||||
'chmod_info' => 'As seguintes permissões de arquivo <strong>não puderam</strong> ser redefinidas para 0776; provavelmente o proprietário do arquivo não é o mesmo do servidor da web. ' . //
|
||||
'Geralmente você pode ignorar este aviso.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Показать информацию о PHP',
|
||||
'opt5' => 'Проверить наличие обновлений',
|
||||
|
||||
'chmod_info' => '<strong>Не удалось<strong> сбросить следующие права доступа к файлам на 0775; вероятно, владелец файла не совпадает с владельцем веб-сервера. ' . //
|
||||
'chmod_info' => '<strong>Не удалось<strong> сбросить следующие права доступа к файлам на 0776; вероятно, владелец файла не совпадает с владельцем веб-сервера. ' . //
|
||||
'Обычно это уведомление можно проигнорировать.'
|
||||
);
|
||||
|
||||
|
@ -11,7 +11,7 @@ $lang ['admin'] ['maintain'] ['default'] = array(
|
||||
'opt4' => 'Prikaži informacije o PHP',
|
||||
'opt5' => 'Preveri posodobitve',
|
||||
|
||||
'chmod_info' => 'Naslednja dovoljenja za datoteke <strong>ni mogoče</strong> povrniti na 0775; verjetno lastnik datoteke ni isti kot spletne strežnik. ' . //
|
||||
'chmod_info' => 'Naslednja dovoljenja za datoteke <strong>ni mogoče</strong> povrniti na 0776; verjetno lastnik datoteke ni isti kot spletne strežnik. ' . //
|
||||
'Običajno lahko to obvestilo prezrete.'
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user