--- chewbacca/YodaProfiler/src/YodaProfiler.cpp 2009/12/28 08:39:25 1.11 +++ chewbacca/YodaProfiler/src/YodaProfiler.cpp 2011/11/29 13:20:43 1.12 @@ -331,7 +331,7 @@ // If not in verbose mode redirect to /dev/null the stdout and stderr // if ( !beverbose ){ - nul = open("/dev/null", O_CREAT | O_RDWR,S_IREAD | S_IWRITE); + nul = open("/dev/null", O_CREAT | O_RDWR,S_IRUSR | S_IWUSR); dup2(nul,1); dup2(nul,2); };