[PATCH] use chgrp instead of chown with group only

Doug Goldstein cardoe at gentoo.org
Thu Sep 6 20:53:53 PDT 2007


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
-- 
1.5.3


--------------080401030602050701030508--


More information about the hal mailing list