Created
March 4, 2016 09:39
-
-
Save josecelano/3d86206c289d88e34811 to your computer and use it in GitHub Desktop.
Revisions
-
josecelano created this gist
Mar 4, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ #!/bin/sh -v # Set directories permissions # Set Apache user as group owner for directories which require write perms # This script is running as jenkins user. Jenkins should belong to www-data group find ./vendor/orchestra/testbench/fixture/storage -type d -exec chgrp -v www-data {} + find ./vendor/orchestra/testbench/fixture/storage -type d -exec chmod ug+rw {} + find ./vendor/orchestra/testbench/fixture/bootstrap/cache -type d -exec chgrp -v www-data {} + find ./vendor/orchestra/testbench/fixture/bootstrap/cache -type d -exec chmod ug+rw {} + chgrp -v www-data ./vendor/orchestra/testbench/fixture/bootstrap/cache/services.php chmod ug+rw ./vendor/orchestra/testbench/fixture/bootstrap/cache/services.php