I'm unable to reproduce this. This is on Ubuntu 14.10 in a read-only directory:
--- user@ubuntu:/tmp/test$ ~/src/git/sysbench/sysbench/sysbench --test=fileio prepare sysbench 0.5: multi-threaded system evaluation benchmark
128 files, 16384Kb each, 2048Mb total Creating files for the test... Extra file open flags: 0 FATAL: Can't open file errno = 13 (Permission denied) ---
Looking at the relevant source code does not provide any insight either.
BTW, sysbench has been moved to Github. I created a copy of this bug there: https://github.com/akopytov/sysbench/issues/16
I'm unable to reproduce this. This is on Ubuntu 14.10 in a read-only directory:
--- /tmp/test$ ~/src/git/ sysbench/ sysbench/ sysbench --test=fileio prepare
user@ubuntu:
sysbench 0.5: multi-threaded system evaluation benchmark
128 files, 16384Kb each, 2048Mb total
Creating files for the test...
Extra file open flags: 0
FATAL: Can't open file errno = 13 (Permission denied)
---
Looking at the relevant source code does not provide any insight either.
BTW, sysbench has been moved to Github. I created a copy of this bug there: https:/ /github. com/akopytov/ sysbench/ issues/ 16