I have a test, which is run during the standard cmake/ctest process.
The problem is that my test needs to create a temporary file (no need to preserve it across different tests), and it fails with the EACCES
error code.
The following (presumably) fails:
m_hFile = open("/tmp/mytest.bin", O_RDWR | O_CREAT);
Do I have to tweak something related to the permissions, or perhaps write to another location?