pkgsrc/mail/evolution/patches/patch-ab

13 lines
371 B
Text

$NetBSD: patch-ab,v 1.12 2011/03/05 13:49:57 wiz Exp $
--- mail/e-mail-migrate.c.orig 2010-09-21 07:26:33.000000000 +0000
+++ mail/e-mail-migrate.c
@@ -292,7 +292,7 @@ cp (const gchar *src, const gchar *dest,
ut.actime = st.st_atime;
ut.modtime = st.st_mtime;
utime (dest, &ut);
- chmod (dest, st.st_mode);
+ chmod (dest, st.st_mode | S_IWUSR);
return TRUE;