From cabc5a156151210919fdc6ef840002da8592dfc9 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sat, 13 Feb 1999 12:38:51 +0000 Subject: [PATCH] Adds a warning message if permissions not sufficient. --- win32/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/win32/file.c b/win32/file.c index 3a5e7e36b6d..4e4c142efda 100644 --- a/win32/file.c +++ b/win32/file.c @@ -95,6 +95,7 @@ BOOL32 WINAPI SetFileAttributes32A(LPCSTR lpFileName, DWORD attributes) lpFileName,attributes); if (-1==chmod(full_name.long_name,buf.st_mode)) { + MSG("Wine ERROR: Couldn't set file attributes for existing file \"%s\". Check permissions !\n", full_name.long_name); SetLastError(ErrnoToLastError(errno)); return FALSE; }