From 19bef5e379bbb8326c5eb9ef801f45d23b1454b2 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Sun, 5 May 2013 01:28:40 -0700 Subject: [PATCH] Correct final permissions during root make install --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 72ec5e3..ed915ea 100755 --- a/install.sh +++ b/install.sh @@ -121,3 +121,6 @@ mv "$cfg_basedir"/html/*.css "$cfg_basedir"/html/*.js "$cfg_webroot" cp mootools.js "$cfg_webroot" cp htaccess "$cfg_webroot/.htaccess" cat gitweb/gitweb.css >>"$cfg_webroot"/gitweb.css + +echo "*** Finalizing permissions..." +chown -R -h "$cfg_mirror_user""$owngroup" "$cfg_basedir" "$cfg_webroot" "$cfg_cgiroot" -- 2.11.4.GIT