PolicyKit: Branch 'master' - 2 commits
David Zeuthen
david at kemper.freedesktop.org
Mon Sep 10 02:55:46 PDT 2007
polkit-grant/Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
diff-tree a8ab4c970363996890c22ffdb2b1eb48b6ac0f6e (from 3a8a84ec380aed65e98c2c28e1c558d3827915db)
Author: Doug Goldstein <cardoe at gentoo.org>
Date: Thu Sep 6 23:53:53 2007 -0400
use chgrp instead of chown with group only
Change to use chgrp instead of chown when only changing a group
diff --git a/polkit-grant/Makefile.am b/polkit-grant/Makefile.am
index b72ab2e..d189849 100644
--- a/polkit-grant/Makefile.am
+++ b/polkit-grant/Makefile.am
@@ -47,7 +47,7 @@ clean-local :
# non-executable to the world
#
install-exec-hook:
- -chown :$(POLKIT_GROUP) $(DESTDIR)$(libexecdir)/polkit-grant-helper
+ -chgrp $(POLKIT_GROUP) $(DESTDIR)$(libexecdir)/polkit-grant-helper
-chmod 2755 $(DESTDIR)$(libexecdir)/polkit-grant-helper
- -chown :$(POLKIT_GROUP) $(DESTDIR)$(libexecdir)/polkit-grant-helper-pam
+ -chgrp $(POLKIT_GROUP) $(DESTDIR)$(libexecdir)/polkit-grant-helper-pam
-chmod 4750 $(DESTDIR)$(libexecdir)/polkit-grant-helper-pam
diff-tree 3a8a84ec380aed65e98c2c28e1c558d3827915db (from 3406f9f20826473dbf2de8c0dbd71f0b5bb8c8e7)
Author: Doug Goldstein <cardoe at gentoo.org>
Date: Thu Sep 6 16:14:24 2007 -0400
install hook for setuid/setgid
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
More information about the hal-commit
mailing list