From 8c0d1e61bd9b5bb8e5acf8d1df1f9bc9f21d1ef4 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Tue, 17 Oct 2000 19:44:02 +0000 Subject: [PATCH] chage chown's to use '.' instead of ':' --- Makefile | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index c9e0ece..033d560 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.3 2000/10/17 02:43:57 sljohnson Exp $ +# $Id: Makefile,v 1.4 2000/10/17 19:44:02 sljohnson Exp $ # # Makefile for Spong (Version 2.6f and up). # @@ -67,7 +67,7 @@ clientlib: cp -rp ./src/lib/Spong/Client $(SYSTEM)-client/lib/Spong/ chmod 644 $(SYSTEM)-client/lib/Spong/* chmod 755 $(SYSTEM)-client/lib/Spong/Client - chown -R $(ADMUSER):$(ADMGROUP) ./$(SYSTEM)-client/lib + chown -R $(ADMUSER).$(ADMGROUP) ./$(SYSTEM)-client/lib clientbin: $(SYSTEM)-client/bin/spong-client @@ -79,12 +79,12 @@ $(SYSTEM)-client/bin/%: ./src/%.pl -e "s%@@WWWDIR@@%$(WWWDIR)%g" \ $< > $@ chmod +x ./$(SYSTEM)-client/bin/* - chown $(ADMUSER):$(ADMGROUP) ./$(SYSTEM)-client/bin/* + chown $(ADMUSER).$(ADMGROUP) ./$(SYSTEM)-client/bin/* clientetc: ./config/spong.conf for f in $(CCONFIGS) ; do cp ./config/$$f $(SYSTEM)-client/etc; done cat ./config/spong.conf.$(SYSTEM) >> ./$(SYSTEM)-client/etc/spong.conf - chown -R $(ADMUSER):$(ADMGROUP) ./$(SYSTEM)-client/etc + chown -R $(ADMUSER).$(ADMGROUP) ./$(SYSTEM)-client/etc client-install: @@ -114,7 +114,7 @@ $(BINDIR)/%: ./src/%.pl -e "s%@@WWWDIR@@%$(WWWDIR)%g" \ $< > $@ chmod -R 755 $(BINDIR) - chown -R $(ADMUSER):$(ADMGROUP) $(BINDIR) + chown -R $(ADMUSER).$(ADMGROUP) $(BINDIR) # --- configs --- @@ -124,7 +124,7 @@ $(ETCDIR): mkdir -p $@ chmod 751 $(ETCDIR) etcown: - chown -R $(ADMUSER):$(ADMGROUP) $(ETCDIR) + chown -R $(ADMUSER).$(ADMGROUP) $(ETCDIR) configs: $(CONFIGS) @@ -157,7 +157,7 @@ library: $(LIBDIR)/Spong $(LIBDIR)/Spong: ./src/lib/Spong cp -rp ./src/lib/Spong $(LIBDIR)/Spong/ chmod -R ugo+rwX,go-w $(LIBDIR)/Spong/ - chown -R $(ADMUSER):$(ADMGROUP) $(LIBDIR) + chown -R $(ADMUSER).$(ADMGROUP) $(LIBDIR) # --- webpages --- @@ -166,7 +166,7 @@ webdir: $(WWWDIR) webpages $(WWWDIR): mkdir -p $@ mkdir $@/html - chown $(WEBUSER):$(WEBGROUP) $@ $@/html + chown $(WEBUSER).$(WEBGROUP) $@ $@/html webpages: $(WEBDIRS) $(WEBPAGES) @@ -175,19 +175,19 @@ webpages: $(WEBDIRS) $(WEBPAGES) $(WWWDIR)/docs: ./www/docs cp -rp $< $@ chmod -R ugo+rwX,go-w $@ - chown -R $(WEBUSER):$(WEBGROUP) $@ + chown -R $(WEBUSER).$(WEBGROUP) $@ $(WWWDIR)/gifs: ./www/gifs cp -rp $< $@ chmod -R ugo+rwX,go-w $@ - chown -R $(WEBUSER):$(WEBGROUP) $@ + chown -R $(WEBUSER).$(WEBGROUP) $@ $(WWWDIR)/screens: ./www/screens cp -rp $< $@ chmod -R ugo+rwX,go-w $@ - chown -R $(WEBUSER):$(WEBGROUP) $@ + chown -R $(WEBUSER).$(WEBGROUP) $@ $(WWWDIR)/html/%: ./www/html/% sed -e "s%__DIR__%$(DOCROOT)%g" $< > $@ chmod ugo+rwX,go-w $@ - chown $(WEBUSER):$(WEBGROUP) $@ + chown $(WEBUSER).$(WEBGROUP) $@ # --- cgiscripts --- @@ -196,7 +196,7 @@ cgidir: $(CGIDIR) cgiscripts cgiown $(CGIDIR): mkdir -p $@ cgiown: - chown -R $(ADMUSER):$(ADMGROUP) $(CGIDIR) + chown -R $(ADMUSER).$(ADMGROUP) $(CGIDIR) cgiscripts: $(CGISCRIPTS) @@ -207,7 +207,7 @@ $(CGIDIR)/%: ./src/%.pl -e "s%@@ETCDIR@@%$(ETCDIR)%g" \ -e "s%@@WWWDIR@@%$(WWWDIR)%g" \ $< > $@ - chown $(WEBUSER):$(WEBGROUP) $(CGIDIR)/* + chown $(WEBUSER).$(WEBGROUP) $(CGIDIR)/* # --- misc install directories --- @@ -216,21 +216,21 @@ tmpdir: $(TMPDIR) $(TMPDIR): [ -d $@ ] || mkdir -p $@ chmod ugo+rwX,go-w $@ - chown $(ADMUSER):$(ADMGROUP) $@ + chown $(ADMUSER).$(ADMGROUP) $@ vardir: $(VARDIR) $(VARDIR)/archives $(DBDIR) $(VARDIR): [ -d $@ ] || mkdir -p $@ chmod ugo+rwX,go-w $@ - chown $(ADMUSER):$(ADMGROUP) $@ + chown $(ADMUSER).$(ADMGROUP) $@ $(DBDIR): [ -d $@ ] || mkdir -p $@ chmod ugo+rwX,go-w $@ - chown $(ADMUSER):$(ADMGROUP) $@ + chown $(ADMUSER).$(ADMGROUP) $@ $(VARDIR)/archives: [ -d $@ ] || mkdir -p $@ chmod ugo+rwX,go-w $@ - chown $(ADMUSER):$(ADMGROUP) $@ + chown $(ADMUSER).$(ADMGROUP) $@ -- 2.30.2