From 4f174005266128d1d521b1864c9a28ef4e492871 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 May 2012 01:42:02 -0500 Subject: [PATCH] Set ldap config file world readable on creation --- src/ldap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ldap.cpp b/src/ldap.cpp index a759641..4a77b74 100644 --- a/src/ldap.cpp +++ b/src/ldap.cpp @@ -73,6 +73,7 @@ LDAPConfig::LDAPConfig(TQWidget *parent, const char *name, const TQStringList&) { TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/ldap/ldapconfigrc" )); + systemconfig->setFileWriteMode(S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); KAboutData* about = new KAboutData("ldap", I18N_NOOP("TDE LDAP Manager"), "0.1", I18N_NOOP("TDE LDAP Manager Control Panel Module"),