Problem is that your PHP runs under safe mode. You can check it here:
When PAP4 run under your web server, new directories are created with different owner so installer is not able to access these folders again.
There are three options how to solve this problem.
- Turn off safe mode in php.ini .
- Make web server to create new folders under itself - web server will be owner, not another process.
- group user under whom runs web server and user that own installation folders.
When you open affiliate folder you will see that user that own ../accounts directory is different as user that owns ../accounts/default1/cache/
You have to group these two users.