struggling with install permissions

I’m having problems with install permissions for cache and modules. I’m installing on Denbian Wheezy with ISPConfig as a hosting interface

I’ve made sure to
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php

Which feeds back some issues with config_overide, custom directory, uploads, cache and modules.

The first 2 the wizard suggests 766 which solves them and also fixes module but i can’t seem to fix the other two.

Any help would be fantastic

I would suggest working with your host and resolving permissions issues.

It appears they have a specific set up which is causing some issues if these permissions are not working for you on a debian environment.

It is possible the owner/group is also different for your specific hosted environment.