summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFraser Tweedale <frase@frase.id.au>2015-06-15 12:52:19 -0400
committerFraser Tweedale <frase@frase.id.au>2015-06-16 01:38:06 -0400
commit955530e72d2489734b80b203d4b1308802e9c2c0 (patch)
treebbcb3e16c3bc008e3af38d98805694ab48b3e1bb
parent489636a2cbf7f6cbfb61e34e69c7c4d3d325ffa9 (diff)
downloadpki-955530e72d2489734b80b203d4b1308802e9c2c0.tar.gz
pki-955530e72d2489734b80b203d4b1308802e9c2c0.tar.xz
pki-955530e72d2489734b80b203d4b1308802e9c2c0.zip
Update: fix CS.cfg permissions
The 10.2.3/02-FixBindPWPrompt upgrade scriptlet leaves CS.cfg owned by root. chown CS.cfg to the instance owner.
-rwxr-xr-xbase/server/upgrade/10.2.3/02-FixBindPWPrompt1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/server/upgrade/10.2.3/02-FixBindPWPrompt b/base/server/upgrade/10.2.3/02-FixBindPWPrompt
index 7b99afd6f..e433c125d 100755
--- a/base/server/upgrade/10.2.3/02-FixBindPWPrompt
+++ b/base/server/upgrade/10.2.3/02-FixBindPWPrompt
@@ -47,3 +47,4 @@ class FixBindPWPrompt(pki.server.upgrade.PKIServerUpgradeScriptlet):
line)
sys.stdout.write(line)
+ os.chown(cs_cfg, instance.uid, instance.gid)