7367bbd450
* among the many, many changes are the pst-importer plugin if there is any fallout, it'll be fixed soon
20 lines
647 B
Plaintext
20 lines
647 B
Plaintext
$OpenBSD: patch-mail_em-migrate_c,v 1.2 2009/10/13 22:07:04 jasper Exp $
|
|
|
|
from pkgsrc:
|
|
Fix permissions of files copied into the user directory from the data
|
|
directory, otherwise, the sample Inbox folder is copied with mode 444
|
|
and you get multiple warnings from Evolution saying that it can't update
|
|
the folder.
|
|
|
|
--- mail/em-migrate.c.orig Fri Aug 7 10:46:51 2009
|
|
+++ mail/em-migrate.c Tue Oct 13 15:30:41 2009
|
|
@@ -1416,7 +1416,7 @@ cp (const gchar *src, const gchar *dest, gboolean show
|
|
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 0;
|
|
|