fix completely wrong file permissions for log files & mavlink ftp (new mode 666)

This commit is contained in:
Beat Küng
2016-04-06 09:49:34 +02:00
committed by tumbili
parent d7ca0b1139
commit 7ff80463be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ int open_perf_file(const char* str)
#ifdef __PX4_NUTTX
int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC);
#else
int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC, 0x0777);
int fd = open(log_file_path, O_CREAT | O_WRONLY | O_DSYNC, 0666);
#endif
if (fd < 0) {