From: thib Date: Fri, 9 Mar 2001 18:03:51 +0000 (+0000) Subject: set all files in spooldir to the right mode and owner/group X-Git-Tag: ver1564~312 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a29f09dde5657067a8ac89d14f6ca13c1e301ea9;p=fcron set all files in spooldir to the right mode and owner/group --- diff --git a/Makefile.in b/Makefile.in index e324695..742cdd3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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