diff options
Diffstat (limited to 'widgets/misc/e-attachment.c')
-rw-r--r-- | widgets/misc/e-attachment.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c index da1abf15f2..dbd9fd04a2 100644 --- a/widgets/misc/e-attachment.c +++ b/widgets/misc/e-attachment.c @@ -2066,8 +2066,10 @@ attachment_open_save_finished_cb (EAttachment *attachment, * which is obviously not portable. */ path = g_file_get_path (file); +#ifndef G_OS_WIN32 if (g_chmod (path, S_IRUSR | S_IRGRP | S_IROTH) < 0) g_warning ("%s", g_strerror (errno)); +#endif g_free (path); attachment_open_file (file, open_context); |