From f0a8d26b26cda04518e3555373172f6b4940e489 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Tue, 11 Aug 2015 16:35:45 +0000 Subject: - fix --- src/namestore/plugin_namestore_flat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c index 4ddc20ff6..fb6ece5ec 100644 --- a/src/namestore/plugin_namestore_flat.c +++ b/src/namestore/plugin_namestore_flat.c @@ -174,7 +174,8 @@ database_setup (struct Plugin *plugin) plugin->hm = GNUNET_CONTAINER_multihashmap_create (10, GNUNET_NO); fh = GNUNET_DISK_file_open (afsdir, - GNUNET_DISK_OPEN_CREATE, + GNUNET_DISK_OPEN_CREATE | + GNUNET_DISK_OPEN_READWRITE, GNUNET_DISK_PERM_USER_WRITE | GNUNET_DISK_PERM_USER_READ); if (NULL == fh) -- cgit v1.2.3