ipaclient-install: chmod needs octal permissions

Fixes incorrect usage introduced in 792adebfab

https://pagure.io/freeipa/issue/7650

Signed-off-by: Orion Poplawski <orion@nwra.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Orion Poplawski authored and Rob Crittenden committed 2018-07-25 12:38:52 -04:00
1 parent 78cefe098f
commit 94bcd938b8
1 file changed
+1 -1
+1 -1
View File
@@ -673,7 +673,7 @@ def configure_krb5_conf(
os.path.basename(paths.KRB5_FREEIPA) + ".template"
)
shutil.copy(template, paths.KRB5_FREEIPA)
os.chmod(paths.KRB5_FREEIPA, 0x644)
os.chmod(paths.KRB5_FREEIPA, 0o644)
# Then, perform the rest of our configuration into krb5.conf itself.
krbconf = IPAChangeConf("IPA Installer")