mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-13 18:28:52 +01:00
Standard directory access should be 755 in stead of 744.
This commit is contained in:
parent
9c47adc9cc
commit
725e340d41
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user