diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2015-08-11 16:35:35 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2015-08-11 16:35:35 +0000 |
commit | d8c59dd413582fa45a0d1e7e23d81ca91a873180 (patch) | |
tree | e0ea00cf43bfaa46d0891a5510bbce914a842dcd /src/namecache | |
parent | 2d630d193cc35df1481ddce4154c22c172e0b8af (diff) |
- fix
Diffstat (limited to 'src/namecache')
-rw-r--r-- | src/namecache/plugin_namecache_flat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namecache/plugin_namecache_flat.c b/src/namecache/plugin_namecache_flat.c index db69ac9276..100a75eb7c 100644 --- a/src/namecache/plugin_namecache_flat.c +++ b/src/namecache/plugin_namecache_flat.c @@ -109,7 +109,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) |