URL: https://github.com/freeipa/freeipa/pull/2183
Author: opoplawski
 Title: #2183: ipaclient-install: chmod needs octal permissions
Action: opened

PR body:
"""
With freeipa-client-4.6.90.pre2-3.fc28.x86_64 I ended up with:
```
---x--Sr-T. 1 root root 54 Jul 24 13:24 /etc/krb5.conf.d/freeipa*
```
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/2183/head:pr2183
git checkout pr2183
From d7b6c12be7e60b96ee78c4808a18d1b18b3cef18 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <or...@nwra.com>
Date: Tue, 24 Jul 2018 15:35:59 -0600
Subject: [PATCH] ipaclient-install: chmod needs octal permissions

---
 ipaclient/install/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipaclient/install/client.py b/ipaclient/install/client.py
index befd040aaa..627351ac21 100644
--- a/ipaclient/install/client.py
+++ b/ipaclient/install/client.py
@@ -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")
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/freeipa-devel@lists.fedorahosted.org/message/YDTZXTHVMTWTQP57KYQLLDXBANS2PV3T/

Reply via email to