Aaron and Mike,
This may be an issue in the source for recording.c (line 83 and again for the naming retries):
/* Attempt to open recording */
int fd = open(basename, O_CREAT | O_EXCL | O_WRONLY, S_IRUSR | S_IWUSR);
man(2) for open states that if you use O_CREAT you must supply the mode parameter which will set the permissions. However, the fd that is returned may still work as a r/w—so the program functions but the permissions may not be correct. For reference: http://man7.org/linux/man-
pages/man2/open.2.htmlPerhaps this should be changed to open(3) with the intended mode_t supplied. I hesitate to even suggest this because I would have expected it to be a problem for more people if it’s actually the case.
Using docker on windows they get created as rwxr-xr-x but that is a docker/windows concern (I think) so I’m unable to reproduce this behavior.