From: Howard Chu Date: Tue, 22 Jul 2014 01:20:31 +0000 (-0700) Subject: Fix env_open mode bits X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~122^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=015d6b909ada4b0a7148946ba8159b678d1934ac;p=openldap Fix env_open mode bits --- 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";