aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb32/mdb_copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/db_drivers/liblmdb32/mdb_copy.c')
-rw-r--r--external/db_drivers/liblmdb32/mdb_copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/db_drivers/liblmdb32/mdb_copy.c b/external/db_drivers/liblmdb32/mdb_copy.c
index e7f965c03..f37ccbcc2 100644
--- a/external/db_drivers/liblmdb32/mdb_copy.c
+++ b/external/db_drivers/liblmdb32/mdb_copy.c
@@ -1,6 +1,6 @@
/* mdb_copy.c - memory-mapped database backup tool */
/*
- * Copyright 2012 Howard Chu, Symas Corp.
+ * Copyright 2012-2015 Howard Chu, Symas Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -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, 0664);
+ rc = mdb_env_open(env, argv[1], flags, 0600);
}
if (rc == MDB_SUCCESS) {
act = "copying";