1 --- nsca-2.9.1/src/nsca.c.orig 2016-03-31 14:47:38.905689179 +0200
2 +++ nsca-2.9.1/src/nsca.c 2016-03-31 14:47:43.493565168 +0200
4 int checkresult_test_fd=-1;
5 char *checkresult_test=NULL;
6 asprintf(&checkresult_test,"%s/nsca.test.%i",check_result_path,getpid());
7 - checkresult_test_fd=open(checkresult_test,O_WRONLY|O_CREAT);
8 + checkresult_test_fd=open(checkresult_test,O_WRONLY|O_CREAT,S_IWUSR);
9 if (checkresult_test_fd>0){
10 unlink(checkresult_test);