From 015d6b909ada4b0a7148946ba8159b678d1934ac Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 21 Jul 2014 18:20:31 -0700 Subject: [PATCH] Fix env_open mode bits --- libraries/liblmdb/mdb_copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb_copy.c b/libraries/liblmdb/mdb_copy.c index c54fefe9f1..e7f965c03a 100644 --- a/libraries/liblmdb/mdb_copy.c +++ b/libraries/liblmdb/mdb_copy.c @@ -64,7 +64,7 @@ int main(int argc,char * argv[]) act = "opening environment"; rc = mdb_env_create(&env); if (rc == MDB_SUCCESS) { - rc = mdb_env_open(env, argv[1], flags, 0); + rc = mdb_env_open(env, argv[1], flags, 0664); } if (rc == MDB_SUCCESS) { act = "copying"; -- 2.39.5