Commit 053c6a93 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Use default permissions when copying template to use umask correctly.

2007-01-11  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-file-operations.c:
        (nautilus_file_operations_new_file_from_template):
	Use default permissions when copying template to use
	umask correctly. (#327249)
	Patch from Josselin Mouette


svn path=/trunk/; revision=12691
parent ff79d296
2007-01-11 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-operations.c:
(nautilus_file_operations_new_file_from_template):
Use default permissions when copying template to use
umask correctly. (#327249)
Patch from Josselin Mouette
2007-01-11 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-properties-window.c (get_target_file_for_original_file):
......
......@@ -2658,7 +2658,7 @@ nautilus_file_operations_new_file_from_template (GtkWidget *parent_view,
target_uri_list = g_list_prepend (NULL, target_uri);
source_uri_list = g_list_prepend (NULL, source_uri);
options = GNOME_VFS_XFER_USE_UNIQUE_NAMES;
options = GNOME_VFS_XFER_USE_UNIQUE_NAMES | GNOME_VFS_XFER_TARGET_DEFAULT_PERMS;
gnome_vfs_async_xfer (&state->handle, source_uri_list, target_uri_list,
options,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment