Codeception 日志不可写

Codeception logs are not writable

我使用的是 CentOS 6.5。我 运行 这个命令

codecept run tests/api/certification.php

结果是这个错误:

  [Codeception\Exception\Configuration] 
Path for logs is not writable. Please, set appropriate access mode for log path.

Test目录的目录结构为:

➜  ocean git:(OCEAN-3431) ✗ pwd
/home/davidNovo/projects/ocean
➜  ocean git:(OCEAN-3431) ✗ cd tests 
➜  tests git:(OCEAN-3431) ✗ ls -l
total 76
drwxrwxr-x. 3 davidNovo davidNovo 4096 Oct  6 17:35 acceptance
-rw-rw-r--. 1 davidNovo davidNovo  802 Oct  6 17:35 acceptance.suite.yml
drwxrwxr-x. 2 davidNovo davidNovo 4096 Oct 16 15:37 api
-rw-rw-r--. 1 davidNovo davidNovo  674 Oct 16 15:37 api.suite.yml
-rw-rw-r--. 1 davidNovo davidNovo  632 Oct 15 12:03 _bootstrap.php
drwxrwxrwx  2 davidNovo davidNovo 4096 Oct 19 16:57 _data
drwxrwxr-x. 2 davidNovo davidNovo 4096 Oct  6 17:35 functional
-rw-rw-r--. 1 davidNovo davidNovo  304 Oct  6 17:35 functional.suite.yml    
drwxrwxr-x. 2 davidNovo davidNovo 4096 Oct 16 15:37 _helpers
drwxrwxrwx  2 davidNovo davidNovo 4096 Oct 19 16:39 _log
drwxrwxr-x. 9 davidNovo davidNovo 4096 Oct  6 17:35 phpunit
-rw-rw-r--. 1 davidNovo davidNovo 2038 Oct  6 17:35 phpunit.xml.dist
-rw-rw-r--. 1 davidNovo davidNovo 6192 Oct  6 17:35 README.md
drwxrwxr-x. 2 davidNovo davidNovo 4096 Oct 15 12:03 _support
drwxrwxr-x. 5 davidNovo davidNovo 4096 Oct 15 12:03 unit
-rw-rw-r--. 1 davidNovo davidNovo  851 Oct  6 17:35 unit.suite.yml
drwxrwxr-x. 2 davidNovo davidNovo 4096 Oct  6 17:35 upi
-rw-rw-r--. 1 davidNovo davidNovo  668 Oct  6 17:35 upi.suite.yml

首先,我使用的是codeception 1.8.7版本

其次,有两个codeceptionh.yml文件。项目根目录中的那个看起来像这样:

paths:
    tests: tests
    log: tests/_logs
    data: tests/_data
    helpers: tests/_helpers

所以,我拼错了我需要的目录。