mageekguy/atoum — Issue #55: file_put_contents(/tmp/atoum.score): failed to open stream: Permission denied
Author: marmotz
Created: 2012-02-16 17:41:57+00:00
State: open

If many users launch tests on a single machine, atoum bug.

One user create a file /tmp/atoum.score with his uid/gid.
The second one can't launch atoum:

```bash
Warning: file_put_contents(/tmp/atoum.score): failed to open stream: Permission denied in /var/www/html/lib/atoum/src/classes/adapter.php on line 18

Call Stack:
0.0104 2082536 1. mageekguy\atoum\scripts\{closure}() /var/www/html/lib/atoum/src/classes/scripts/runner.php:0
0.0104 2082536 2. mageekguy\atoum\scripts\runner->run() /var/www/html/lib/atoum/src/classes/scripts/runner.php:245
0.1401 4523008 3. mageekguy\atoum\scripts\runner->saveScore() /var/www/html/lib/atoum/src/classes/scripts/runner.php:123
0.1401 4525464 4. mageekguy\atoum\adapter->file_put_contents() /var/www/html/lib/atoum/src/classes/scripts/runner.php:611
0.1401 4525992 5. mageekguy\atoum\adapter->__call() /var/www/html/lib/atoum/src/classes/scripts/runner.php:611
0.1401 4525992 6. mageekguy\atoum\adapter->invoke() /var/www/html/lib/atoum/src/classes/adapter.php:13
0.1401 4526040 7. call_user_func_array() /var/www/html/lib/atoum/src/classes/adapter.php:18

Error: Unable to save score in '/tmp/atoum.score'
```