[PATCH] install hook for setuid/setgid
Doug Goldstein
cardoe at gentoo.org
Thu Sep 6 13:14:24 PDT 2007
Current installation uses a local rule which isn't guarenteed to be run
after the automake'd rule, as such it will not always setuid/setgid properly.
This patch switches that to a hook which is guarenteed to run afterwards.
diff --git a/polkit-grant/Makefile.am b/polkit-grant/Makefile.am
index d888624..b72ab2e 100644
--- a/polkit-grant/Makefile.am
+++ b/polkit-grant/Makefile.am
@@ -46,7 +46,7 @@ clean-local :
# we make it owned by the polkitiuser group and non-readable /
# non-executable to the world
#
-install-data-local:
+install-exec-hook:
-chown :$(POLKIT_GROUP) $(DESTDIR)$(libexecdir)/polkit-grant-helper
-chmod 2755 $(DESTDIR)$(libexecdir)/polkit-grant-helper
-chown :$(POLKIT_GROUP) $(DESTDIR)$(libexecdir)/polkit-grant-helper-pam
--
1.5.3
--------------010904050503080605090204--
More information about the hal
mailing list