Alexandre Julliard : shell32: Fix permissions of newly-created directories.
Alexandre Julliard
julliard at winehq.org
Mon Feb 4 08:43:17 CST 2008
Module: wine
Branch: master
Commit: fb6ea6764ccea7e26b2e7b5dc3e97989240709c6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fb6ea6764ccea7e26b2e7b5dc3e97989240709c6
Author: Alexandre Julliard <julliard at 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];
More information about the wine-cvs
mailing list