install-eg.sh: skin folders should be sitkastaff-owned for now to facilitate deployment
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 9 Jul 2015 20:46:37 +0000 (13:46 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Thu, 9 Jul 2015 20:46:37 +0000 (13:46 -0700)
deployment/install-eg.sh

index 7ed10d9..f0e89e1 100755 (executable)
@@ -207,8 +207,8 @@ done
 # 9. make sure opensrf owns all the stuff we just did
 chown -R opensrf:opensrf ${INSTALLDIR}
 chown -R opensrf:opensrf /home/opensrf
 # 9. make sure opensrf owns all the stuff we just did
 chown -R opensrf:opensrf ${INSTALLDIR}
 chown -R opensrf:opensrf /home/opensrf
-chmod 777 ${INSTALLDIR}/var/skins
-chmod 777 ${INSTALLDIR}/var/web/css/skin
+chmod 777 ${INSTALLDIR}/var/skins ; chown -R sitkastaff:sitkastaff ${INSTALLDIR}/var/skins
+chmod 777 ${INSTALLDIR}/var/web/css/skin ; chown -R sitkastaff:sitkastaff ${INSTALLDIR}/var/web/css/skin
 
 # 10. staff client stuff
 apt-get install -y nsis unzip
 
 # 10. staff client stuff
 apt-get install -y nsis unzip