Re: patch: permissions on new files



Sorry, the correct patch is:

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,
+#if GLIB_CHECK_VERSION(2,19,0)
+			      G_FILE_COPY_TARGET_DEFAULT_PERMS |
+#endif
 			      G_FILE_COPY_OVERWRITE,
 			      NULL, NULL, NULL, &ioerror);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]