travis
[plcapi.git] / tests / ci / travis / setup_apache.sh
index ee33d94..e199c86 100755 (executable)
@@ -2,8 +2,8 @@
 
 # make sure all files and folders are accisble by Apache
 
-find . -type d -exec chmod 755 {} \;
-#find . -type f -exec chmod 644 {} \;
+sudo find /home -type d -exec chmod 755 {} \;
+sudo find . -type f -name "*.php" -exec chmod 644 {} \;
 
 # set up Apache for php-fpm
 # @see https://github.com/travis-ci/travis-ci.github.com/blob/master/docs/user/languages/php.md#apache--php