From: Shwetha Acharya Date: Mon, 6 Apr 2026 11:25:42 +0000 (+0530) Subject: s3:printing: make printer_list.tdb none readable for others X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccb54fffaeda0cde2ed0a625ff3a69fae64fb4b2;p=thirdparty%2Fsamba.git s3:printing: make printer_list.tdb none readable for others Signed-off-by: Shwetha Acharya Reviewed-by: Xavi Hernandez Reviewed-by: Martin Schwenke Reviewed-by: Anoop C S Autobuild-User(master): Anoop C S Autobuild-Date(master): Tue Apr 7 16:12:32 UTC 2026 on atb-devel-224 --- diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c index 7fd07ed1f34..e63c658df2b 100644 --- a/source3/printing/printer_list.c +++ b/source3/printing/printer_list.c @@ -50,7 +50,7 @@ static struct db_context *get_printer_list_db(void) 0, TDB_DEFAULT|TDB_INCOMPATIBLE_HASH, O_RDWR|O_CREAT, - 0644, + 0640, DBWRAP_LOCK_ORDER_1, DBWRAP_FLAG_NONE); TALLOC_FREE(db_path);