Module: wine Branch: master Commit: fb6ea6764ccea7e26b2e7b5dc3e97989240709c6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fb6ea6764ccea7e26b2e7b5dc3...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Feb 4 15:25:18 2008 +0100
shell32: Fix permissions of newly-created directories.
---
dlls/shell32/shfldr_unixfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c index ab1f78a..5f30cd9 100644 --- a/dlls/shell32/shfldr_unixfs.c +++ b/dlls/shell32/shfldr_unixfs.c @@ -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];