Commit fb6ea676 authored by Alexandre Julliard's avatar Alexandre Julliard

shell32: Fix permissions of newly-created directories.

parent cef1f216
......@@ -1761,7 +1761,7 @@ static HRESULT WINAPI UnixFolder_ISFHelper_AddFolder(ISFHelper* iface, HWND hwnd
cBaseLen = lstrlenA(szNewDir);
WideCharToMultiByte(CP_UNIXCP, 0, pwszName, -1, szNewDir+cBaseLen, FILENAME_MAX-cBaseLen, 0, 0);
if (mkdir(szNewDir, 0755)) {
if (mkdir(szNewDir, 0777)) {
char szMessage[256 + FILENAME_MAX];
char szCaption[256];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment