mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
parent
78cefe098f
commit
94bcd938b8
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user