1 2 3 4 5 6 7 8 9
#!/bin/sh # set permissions required for installation dir=$(dirname $0) for file in cache files store config.php images/avatars/upload do chmod a+w $dir/../$file done