summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/odsexporterinstance.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/install/odsexporterinstance.py')
-rw-r--r--ipaserver/install/odsexporterinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/odsexporterinstance.py b/ipaserver/install/odsexporterinstance.py
index c37095cfc..51b0f3efc 100644
--- a/ipaserver/install/odsexporterinstance.py
+++ b/ipaserver/install/odsexporterinstance.py
@@ -108,7 +108,7 @@ class ODSExporterInstance(service.Service):
dns_exporter_principal_dn = p
# Make sure access is strictly reserved to the ods user
- os.chmod(paths.IPA_ODS_EXPORTER_KEYTAB, 0440)
+ os.chmod(paths.IPA_ODS_EXPORTER_KEYTAB, 0o440)
os.chown(paths.IPA_ODS_EXPORTER_KEYTAB, 0, self.ods_gid)
dns_group = DN(('cn', 'DNS Servers'), ('cn', 'privileges'),