Project

General

Profile

Actions

Bug(バグ) #1183

closed

メール投稿のユーザ名が nobody の場合 symfony cc でcache/nobody ディレクトリが削除できない

Added by Kiwa Sakai over 14 years ago. Updated over 14 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2010-06-18
Due date:
% Done:

100%

Estimated time:
3.6 で発生するか:
3.8 で発生するか:

Description

メール投稿時のユーザ名が nobody の場合、 symfony cc で以下のWarning が表示される

$ ./symfony cc
PHP Warning:  opendir(/OPENPNE_DIR/cache/nobody): failed to open dir: Permission denied in /OPENPNE_DIR/lib/vendor/symfony/lib/util/sfFinder.class.php on line 418
PHP Warning:  readdir(): supplied argument is not a valid Directory resource in /OPENPNE_DIR/lib/vendor/symfony/lib/util/sfFinder.class.php on line 419
PHP Warning:  closedir(): supplied argument is not a valid Directory resource in /OPENPNE_DIR/lib/vendor/symfony/lib/util/sfFinder.class.php on line 484


Related issues 4 (0 open4 closed)

Related to OpenPNE 3 - Backport(バックポート) #1042: Can't execute openpne:execute-mail-action bacause of permisson of cache/cli directoryFixed(完了)Shinichi Urabe2010-05-11

Actions
Related to OpenPNE 3 - Backport(バックポート) #1232: メール投稿のユーザ名が nobody の場合 symfony cc でcache/nobody ディレクトリが削除できないInvalid(無効)2010-06-18

Actions
Related to OpenPNE 3 - Backport(バックポート) #1231: メール投稿のユーザ名が nobody の場合 symfony cc でcache/nobody ディレクトリが削除できないFixed(完了)Shinichi Urabe2010-06-18

Actions
Related to OpenPNE 3 - Backport(バックポート) #1415: #1183 の対応では cache/nobody のキャッシュ削除ができないFixed(完了)Kousuke Ebihara2010-07-22

Actions
Actions #1

Updated by Yuki Yamashita over 14 years ago

  • Target version set to OpenPNE 3.6beta1
Actions #2

Updated by Kousuke Ebihara over 14 years ago

  • Status changed from New(新規) to Accepted(着手)
  • Assignee set to Kousuke Ebihara
Actions #3

Updated by Kousuke Ebihara over 14 years ago

  • Status changed from Accepted(着手) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50
Actions #4

Updated by Shogo Kawahara over 14 years ago

  • Status changed from Pending Review(レビュー待ち) to Rejected(差し戻し)

36faf474 以降(と推測)で
全てのWebアプリで、出力が何もされませんでした。エラーログには以下のようなメッセージが残っています。

pc_frontend_dev 環境で行ったものですが、他のアプリケーション・環境でも同様な現状が見受けられています。

[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP Fatal error:  Class 'opToolkit' not found in /home/kawahara/dev/OpenPNE3/lib/config/opApplicationConfiguration.class.php on line 507
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP Stack trace:
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP   1. {main}() /home/kawahara/dev/OpenPNE3/web/pc_frontend_dev.php:0
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP   2. sfProjectConfiguration::getApplicationConfiguration() /home/kawahara/dev/OpenPNE3/web/pc_frontend_dev.php:13
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP   3. sfApplicationConfiguration->__construct() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/config/sfProjectConfiguration.class.php:614
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP   4. sfProjectConfiguration->__construct() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/config/sfApplicationConfiguration.class.php:47
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP   5. sfApplicationConfiguration->setRootDir() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/config/sfProjectConfiguration.class.php:55
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP   6. sfProjectConfiguration->setRootDir() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/config/sfApplicationConfiguration.class.php:285
[Wed Jul 14 14:48:54 2010] [error] [client 172.16.221.1] PHP   7. opApplicationConfiguration->setCacheDir() /home/kawahara/dev/OpenPNE3/lib/vendor/symfony/lib/config/sfProjectConfiguration.class.php:136
Actions #5

Updated by Kousuke Ebihara over 14 years ago

  • Status changed from Rejected(差し戻し) to Pending Review(レビュー待ち)

更新履歴 58cdc253172c37ee6bc4386d9c932d2ec15e1b43 で適用されました。

Actions #6

Updated by Shogo Kawahara over 14 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70
Actions #7

Updated by Kousuke Ebihara over 14 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100
Actions

Also available in: Atom PDF