Change permissions of created folder to 755
This commit is contained in:
parent
e0f568b9d9
commit
e9d56797ac
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue