Standard directory access should be 755 in stead of 744.

This commit is contained in:
Pieter Hulshoff 2016-05-11 09:02:07 +02:00
parent 9c47adc9cc
commit 725e340d41

View File

@ -81,7 +81,7 @@ bool CollectionInfoBuilder::createCollectionDirectory(std::string name)
#if defined(__MINGW32__) #if defined(__MINGW32__)
if(mkdir(it->c_str()) == -1) if(mkdir(it->c_str()) == -1)
#else #else
if(mkdir(it->c_str(), 0744) == -1) if(mkdir(it->c_str(), 0755) == -1)
#endif #endif
{ {
std::cout << "Could not create folder \"" << *it << "\":" << errno << std::endl; std::cout << "Could not create folder \"" << *it << "\":" << errno << std::endl;