--- calo/flight/FQLOOK/src/FCaloQLOOK.cc 2006/09/22 13:38:59 1.6 +++ calo/flight/FQLOOK/src/FCaloQLOOK.cc 2006/09/24 13:44:49 1.7 @@ -113,6 +113,7 @@ return(0); }; // + stringstream figsave; if ( !beverbose ){ // const string fil = gSystem->BaseName(name.Data()); @@ -128,14 +129,13 @@ const char *figrec = file2; // const char *outDir = outdir; - stringstream figsave; figsave.str(""); figsave << outDir << "/" ; figsave << figrec << "_CaloQLOOK.txt"; // // redirect to /dev/null the stdout and stderr // - nul = open(figsave.str().c_str(), O_CREAT | O_RDWR,S_IREAD | S_IWRITE); + nul = open(figsave.str().c_str(), O_CREAT | O_RDWR,S_IREAD | S_IWRITE | S_IRGRP | S_IWGRP | S_IROTH); dup2(nul,1); dup2(nul,2); };