Following folders have to be writable by the web server, that is is chmod-ed to 0777 recursive:
/apps/common/config /apps/common/runtime /api/assets/cache /backend/assets/cache /customer/assets/cache /frontend/assets/cache /frontend/assets/files /apps/extensions