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 2018-07-24 15:35:59 -06:00 committed by Rob Crittenden
parent 78cefe098f
commit 94bcd938b8

View File

@ -673,7 +673,7 @@ def configure_krb5_conf(
os.path.basename(paths.KRB5_FREEIPA) + ".template" os.path.basename(paths.KRB5_FREEIPA) + ".template"
) )
shutil.copy(template, paths.KRB5_FREEIPA) 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. # Then, perform the rest of our configuration into krb5.conf itself.
krbconf = IPAChangeConf("IPA Installer") krbconf = IPAChangeConf("IPA Installer")