diff --git a/testing/monkey/monkey_recorder.c b/testing/monkey/monkey_recorder.c index 228988204..261c0849c 100644 --- a/testing/monkey/monkey_recorder.c +++ b/testing/monkey/monkey_recorder.c @@ -157,7 +157,7 @@ FAR struct monkey_recorder_s *monkey_recorder_create(FAR const char *path, oflag = O_RDONLY; } - fd = open(path_ptr, oflag); + fd = open(path_ptr, oflag, 0666); if (fd < 0) { MONKEY_LOG_ERROR("open %s failed: %d", path_ptr, errno);