プロジェクト

全般

プロフィール

Bug(バグ) #1743

未完了

The files that it's generated by Auth_OpenID_FileStore can't delete by "symfony cc". (キャッシュクリアにより Auth_OpenID_FileStore が作成したファイルが削除できない)

Shogo Kawahara さんが約14年前に追加. 12年以上前に更新.

ステータス:
New(新規)
優先度:
Normal(通常)
担当者:
-
対象バージョン:
開始日:
2010-10-27
期日:
進捗率:

0%

予定工数:
3.6 で発生するか:
Yes
3.8 で発生するか:

説明

Overview

The fie that it's generated by Auth_OpenID_FileStore can't delete by "symfony cc".

>> file-     /home/kawahara/dev/OpenPNE3/cache/www-data/associations/XXXXX
PHP Warning:  unlink(/home/kawahara/dev/OpenPNE3/cache/www-data/associations/XXXXX): Permission denied in /home/kaw
ahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfFilesystem.class.php on line 143
PHP Stack trace:
PHP   1. {main}() /usr/bin/symfony:0
PHP   2. include() /usr/bin/symfony:37
PHP   3. sfSymfonyCommandApplication->run() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/command/cli.php:20
PHP   4. sfTask->runFromCLI() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php:76
PHP   5. sfBaseTask->doRun() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfTask.class.php:97
PHP   6. sfCacheClearTask->execute() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
PHP   7. sfFilesystem->remove() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/cache/sfCacheClearTask.class.php:128
PHP   8. unlink() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfFilesystem.class.php:143
Warning: unlink(/home/kawahara/dev/OpenPNE3/cache/www-data/associations/XXXXX): Permission denied in /home/kawahara
/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfFilesystem.class.php on line 143

Call Stack:
    0.0007     633704   1. {main}() /usr/bin/symfony:0
    0.0060    1146744   2. include('/home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/command/cli.php') /usr/bin/symfony:37
    0.5001   15795704   3. sfSymfonyCommandApplication->run() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/command/cli.php:20
    0.5025   15798624   4. sfTask->runFromCLI() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php:76
    0.5026   15799008   5. sfBaseTask->doRun() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfTask.class.php:97
    1.2795   16866944   6. sfCacheClearTask->execute() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfBaseTask.class.php:68
    1.4137   16874496   7. sfFilesystem->remove() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/cache/sfCacheClearTask.class.php:128
    1.4144   16875344   8. unlink() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/task/sfFilesystem.class.php:143

Way to reproduction (再現手順)

外部のサービスからOpenPNEをOpenID Server として利用するか、
opAuthOpenID で、OpenIDでの認証を試みる。

Environment

OpenPNE 3.0〜

他の形式にエクスポート: Atom PDF