summaryrefslogtreecommitdiff
path: root/tools/obex-client-tool.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-07-11 00:52:33 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-12-04 22:22:01 +0100
commit0e2afe102e555b8309c4655552f2f32a26f4d989 (patch)
tree31852ed727872bafa941d4281cebfb6fb72b7335 /tools/obex-client-tool.c
parent14d2bde30d43c7d677f75530360231ea64f634e6 (diff)
downloadbluez-0e2afe102e555b8309c4655552f2f32a26f4d989.tar.gz
gobex: Fix test-server/client file creation mode
Diffstat (limited to 'tools/obex-client-tool.c')
-rw-r--r--tools/obex-client-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/obex-client-tool.c b/tools/obex-client-tool.c
index f83edfa4d..387c51182 100644
--- a/tools/obex-client-tool.c
+++ b/tools/obex-client-tool.c
@@ -193,7 +193,7 @@ static void cmd_get(int argc, char **argv)
return;
}
- fd = open(argv[1], O_WRONLY | O_CREAT | O_NOCTTY, 0);
+ fd = open(argv[1], O_WRONLY | O_CREAT | O_NOCTTY, 0600);
if (fd < 0) {
g_printerr("open: %s\n", strerror(errno));
return;