Skip to content

Commit

Permalink
ipaclient-install: chmod needs octal permissions
Browse files Browse the repository at this point in the history
Fixes incorrect usage introduced in 792adeb

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

Signed-off-by: Orion Poplawski <orion@nwra.com>
  • Loading branch information
opoplawski committed Jul 24, 2018
1 parent 78cefe0 commit 3312e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipaclient/install/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3312e81

Please sign in to comment.