PolicyKit: Branch 'wip/js-rule-files'
David Zeuthen
david at kemper.freedesktop.org
Tue May 22 06:57:36 PDT 2012
configure.ac | 7 +++++++
src/polkitbackend/Makefile.am | 4 ++++
2 files changed, 11 insertions(+)
New commits:
commit fc2bb7af79b5c45521d71ca1b1e7b35c1824f86c
Author: David Zeuthen <davidz at redhat.com>
Date: Tue May 22 09:57:20 2012 -0400
Create rules.d directories
Signed-off-by: David Zeuthen <davidz at redhat.com>
diff --git a/configure.ac b/configure.ac
index 4f2ac6f..7b7f3eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -518,3 +518,10 @@ echo "NOTE: The file ${bindir}/pkexec must be owned by root and"
echo " have mode 4755 (setuid root binary)"
echo
+echo "NOTE: The directory ${sysconfdir}/polkit-1/rules.d"
+echo " should have mode 700"
+echo
+
+echo "NOTE: The directory ${datadir}/polkit-1/rules.d"
+echo " should have mode 700"
+echo
diff --git a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am
index 982c3ea..b1a70c0 100644
--- a/src/polkitbackend/Makefile.am
+++ b/src/polkitbackend/Makefile.am
@@ -102,3 +102,7 @@ install-exec-hook:
mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/localauthority/{10-vendor.d,20-org.d,30-site.d,50-local.d,90-mandatory.d}
-chmod 700 $(DESTDIR)$(sysconfdir)/polkit-1/localauthority
mkdir -p $(DESTDIR)$(libdir)/polkit-1/extensions
+ mkdir -p $(DESTDIR)$(sysconfdir)/polkit-1/rules.d
+ -chmod 700 $(DESTDIR)$(sysconfdir)/polkit-1/rules.d
+ mkdir -p $(DESTDIR)$(datadir)/polkit-1/rules.d
+ -chmod 700 $(DESTDIR)$(datadir)/polkit-1/rules.d
More information about the hal-commit
mailing list