Change directory ownership after rsync.
authorChris Sharp <csharp@georgialibraries.org>
Tue, 22 Nov 2016 14:49:24 +0000 (09:49 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 22 Nov 2016 14:49:24 +0000 (09:49 -0500)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
install-ubuntu-14.04.sh

index b1b34bb..c0d5604 100755 (executable)
@@ -38,6 +38,7 @@ echo "Please run sql/quick_reports_setup.sql ONLY if you haven't already."
 
 echo "Copying report-creator files into $OSRF_WEB_ROOT/report-creator."
 rsync -auv --exclude="install*.sh" ./ $OSRF_WEB_ROOT/report-creator/
+chown -R opensrf:opensrf $OSRF_WEB_ROOT/report-creator
 
 echo "Now browse to https://www.yourdomain.tld/report-creator to complete setup."
 echo "Refer to docs/Installation_Instructions.txt for details."