summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-05-31 01:42:02 -0500
committerTimothy Pearson <[email protected]>2012-05-31 01:42:02 -0500
commit4f174005266128d1d521b1864c9a28ef4e492871 (patch)
treebb1adc3d69790f929aefbcea1cf2f00bccc8223f
parent7eb3c27156986e10a22688928ff50cedcc737bb9 (diff)
downloadkcmldap-4f174005266128d1d521b1864c9a28ef4e492871.tar.gz
kcmldap-4f174005266128d1d521b1864c9a28ef4e492871.zip
Set ldap config file world readable on creation
-rw-r--r--src/ldap.cpp1
1 files changed, 1 insertions, 0 deletions
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"),