Changing createcollection mkdir permissions to 0744 for linux

This commit is contained in:
Don Honerbrink 2015-03-05 18:46:20 +00:00
parent 41326aa7f3
commit 79d38b61d8

View File

@ -78,7 +78,7 @@ bool CollectionInfoBuilder::CreateCollectionDirectory(std::string name)
} }
} }
#else #else
if(mkdir(it->c_str(), 0644) == -1) if(mkdir(it->c_str(), 0744) == -1)
{ {
std::cout << "Could not create folder \"" << *it << "\":" << strerror(errno) << std::endl; std::cout << "Could not create folder \"" << *it << "\":" << strerror(errno) << std::endl;
} }