Index: libdocument/ev-file-helpers.c
===================================================================
--- libdocument/ev-file-helpers.c	(revision 3373)
+++ libdocument/ev-file-helpers.c	(working copy)
@@ -221,6 +221,9 @@
 	target_file = g_file_new_for_uri (to);
 	
 	result = g_file_copy (source_file, target_file,
+#ifdef GLIB_CHECK_VERSION(2.19.0)
+			      G_FILE_COPY_TARGET_DEFAULT_PERMS |
+#endif
 			      G_FILE_COPY_OVERWRITE,
 			      NULL, NULL, NULL, &ioerror);
 
