diff -ur httpup-0.4.0l.old/fileutils.cpp httpup-0.4.0l/fileutils.cpp --- httpup-0.4.0l.old/fileutils.cpp 2013-08-13 23:23:28.208873413 +0300 +++ httpup-0.4.0l/fileutils.cpp 2013-08-13 23:24:09.858655081 +0300 @@ -77,7 +77,7 @@ fName = directory.substr(0, pos); struct stat info; if (stat(fName.c_str(), &info)) { - if (mkdir(fName.c_str(), 0755)) { + if (mkdir(fName.c_str(), 0777)) { ret = -1; } } diff -ur httpup-0.4.0l.old/httpup.cpp httpup-0.4.0l/httpup.cpp --- httpup-0.4.0l.old/httpup.cpp 2013-08-13 23:23:28.208873413 +0300 +++ httpup-0.4.0l/httpup.cpp 2013-08-13 23:24:52.421765477 +0300 @@ -394,7 +394,7 @@ cout << " Checkout: " << collectionName << "/" << it->first << endl; - mkdir((m_baseDirectory+it->first).c_str(), 0755); + mkdir((m_baseDirectory+it->first).c_str(), 0777); } else if (it->second == NEW_FILE_GET || it->second == FILE_GET) { if (it->second == NEW_FILE_GET) { cout << " Checkout: " @@ -460,7 +460,7 @@ if (ret == 0) { cout << " Checkout: " << collectionName << "/" << it->first << endl; - mkdir((m_baseDirectory+it->first).c_str(), 0755); + mkdir((m_baseDirectory+it->first).c_str(), 0777); } } else if (it->second == REMOVE) { cout << " Delete: "