diff options
author | Karolin Seeger <kseeger@samba.org> | 2008-08-27 13:23:20 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-08-27 13:23:20 +0200 |
commit | b666d0a4b597218f5f5020bf36d80d84dcbf7259 (patch) | |
tree | 3577177464f25315bbfd91ffe11be4f857a409de | |
parent | 86634dc0c89b8c0ddf61273d31cc7d8cdb443643 (diff) | |
download | samba-b666d0a4b597218f5f5020bf36d80d84dcbf7259.tar.gz |
ldb: Fix permissions of new ldg files.samba-3.2.3
This one fixes together with 2eaf4ed62 bug #5715 and CVE-2008-3789.
Thanks to Steve Langasek <vorlon@debian.org> for reporting!
Karolin
-rw-r--r-- | source/lib/ldb/common/ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c index e469c49399a..743711b9672 100644 --- a/source/lib/ldb/common/ldb.c +++ b/source/lib/ldb/common/ldb.c @@ -51,7 +51,7 @@ struct ldb_context *ldb_init(void *mem_ctx) } ldb_set_utf8_default(ldb); - ldb_set_create_perms(ldb, 0666); + ldb_set_create_perms(ldb, 0600); return ldb; } |