install-eg.sh: skin folders should be sitkastaff-owned for now to facilitate deployment
[sitka/sitka-tools.git] / 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
-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