]> granicus.if.org Git - fcron/commitdiff
set all files in spooldir to the right mode and owner/group
authorthib <thib>
Fri, 9 Mar 2001 18:03:51 +0000 (18:03 +0000)
committerthib <thib>
Fri, 9 Mar 2001 18:03:51 +0000 (18:03 +0000)
Makefile.in

index e324695f72459b0cbf8cf79dbcde76d06df75807..742cdd3b0711dc2af40f75a8b3ee52cf4cfbdd58 100644 (file)
@@ -4,7 +4,7 @@
 
 # @configure_input@
 
-# $Id: Makefile.in,v 1.59 2001-02-25 14:45:32 thib Exp $
+# $Id: Makefile.in,v 1.60 2001-03-09 18:03:51 thib Exp $
 
 # The following should not be edited manually (use configure options)
 # If you must do it, BEWARE : some of the following is also defined
@@ -113,6 +113,8 @@ install: all
 
 # in order to get correct rights when upgrading :
        find $(FCRONTABS) -type f \( -name "*.orig" -a ! -name "root.orig" \) -exec chown $(USERNAME):$(GROUPNAME) {} \; -exec chmod 640 {} \;
+       find $(FCRONTABS) -type f -name "root.orig" -exec chown $(ROOTNAME):$(GROUPNAME) {} \; -exec chmod 600 {} \;
+       find $(FCRONTABS) -type f ! -name "*.orig" -exec chown $(ROOTNAME):$(ROOTGROUP) {} \; -exec chmod 600 {} \;
        if test -f $(ETC)/fcron.deny; then chown $(ROOTNAME):$(GROUPNAME) $(ETC)/fcron.deny ; fi
        if test -f $(ETC)/fcron.allow; then chown $(ROOTNAME):$(GROUPNAME) $(ETC)/fcron.allow ; fi