diff --git a/src/driver.cpp b/src/driver.cpp index 1a2607e..b42c7f8 100644 --- a/src/driver.cpp +++ b/src/driver.cpp @@ -44,7 +44,7 @@ namespace pds { #if defined(_WIN32) status = _mkdir(m_outputdir.c_str()); #else - status = mkdir(m_outputdir.c_str(), 0777); + status = mkdir(m_outputdir.c_str(), 0755); #endif if(status !=0 && errno != EEXIST){ throw DriverException("The folder " + m_outputdir + " does not exist and we're unable to create it.");