Restrictive mdb_copy file mode.

Copied from 58ddb5527b.
mdb.RE/0.9
Hallvard Furuseth 10 years ago
parent 8230b1b630
commit 6586299f55
  1. 2
      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, 0664);
rc = mdb_env_open(env, argv[1], flags, 0600);
}
if (rc == MDB_SUCCESS) {
act = "copying";

Loading…
Cancel
Save