rse         98/04/08 04:59:57

  Modified:    .        Makefile.tmpl
  Log:
  Make sure the initial data files have correct permissions the hard and
  complicated but portable way (notice that "datadir" can be equal "prefix"!)
  
  Revision  Changes    Path
  1.9       +6 -0      apache-1.3/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/Makefile.tmpl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile.tmpl     1998/04/08 09:38:49     1.8
  +++ Makefile.tmpl     1998/04/08 11:59:56     1.9
  @@ -327,8 +327,14 @@
   install-docroot:
        @echo "===> [docroot: Installing initial DocumentRoot files]"
        -$(CP) -R $(ROOT)/htdocs/* $(datadir)/htdocs/
  +     -find $(datadir)/htdocs/ -type d -print | xargs chmod a+rx
  +     -find $(datadir)/htdocs/ -type f -print | xargs chmod a+r
        -$(CP) -R $(ROOT)/icons/* $(datadir)/icons/
  +     -find $(datadir)/icons/ -type d -print | xargs chmod a+rx
  +     -find $(datadir)/icons/ -type f -print | xargs chmod a+r
        -$(CP) -R $(ROOT)/cgi-bin/* $(datadir)/cgi-bin/
  +     -find $(datadir)/cgi-bin/ -type d -print | xargs chmod a+rx
  +     -find $(datadir)/cgi-bin/ -type f -print | xargs chmod a+r
        @echo "<=== [docroot]"
   
   ## ------------------------------------------------------------------
  
  
  

Reply via email to