summaryrefslogtreecommitdiffstats
path: root/install/Makefile.am
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2013-07-16 12:10:54 +0200
committerMartin Kosek <mkosek@redhat.com>2013-07-16 12:17:40 +0200
commit7a105604e265222cf6f96b0ac060d4f1b2504b6c (patch)
tree22a9b92905f5f36259dc29b00f21a3931334eaae /install/Makefile.am
parent0fa42af840579d641ceb76974fb4c0277c9c6d6b (diff)
downloadfreeipa-7a105604e265222cf6f96b0ac060d4f1b2504b6c.tar.gz
freeipa-7a105604e265222cf6f96b0ac060d4f1b2504b6c.tar.xz
freeipa-7a105604e265222cf6f96b0ac060d4f1b2504b6c.zip
Change group ownership of CRL publish directory
Spec file modified so that /var/lib/ipa/pki-ca/publish/ is no longer owned by created with package installation. The directory is rather created/removed with the CA instance itself. This ensures proper creation/removeal, group ownership and SELinux context. https://fedorahosted.org/freeipa/ticket/3727
Diffstat (limited to 'install/Makefile.am')
-rw-r--r--install/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/install/Makefile.am b/install/Makefile.am
index b2e6e9a65..c07f57155 100644
--- a/install/Makefile.am
+++ b/install/Makefile.am
@@ -24,9 +24,8 @@ install-exec-local:
chmod 700 $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
mkdir -p $(DESTDIR)$(localstatedir)/lib/ipa/sysupgrade
chmod 700 $(DESTDIR)$(localstatedir)/lib/ipa/sysupgrade
- mkdir -p $(DESTDIR)$(localstatedir)/lib/ipa/pki-ca/publish
+ mkdir -p $(DESTDIR)$(localstatedir)/lib/ipa/pki-ca
chmod 755 $(DESTDIR)$(localstatedir)/lib/ipa/pki-ca
- chmod 755 $(DESTDIR)$(localstatedir)/lib/ipa/pki-ca/publish
uninstall-local:
-rmdir $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore