summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/gdaemonfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 9e055c21..429a8eb0 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -2624,9 +2624,9 @@ g_daemon_file_replace_async (GFile *file,
{
dbus_bool_t dbus_make_backup = make_backup;
guint32 dbus_flags = flags;
- guint16 mode = 0;
+ guint16 mode = 2;
- do_async_path_call (file,
+ do_async_path_call (file,
G_VFS_DBUS_MOUNT_OP_OPEN_FOR_WRITE,
cancellable,
callback, user_data,