If you looking about 640 permissions try to google about umask. Do not forget to apply it to ftp server.
It easy to set up proper permissions. Just set 750 for every dir in /home and add apache/nobody user to every group. Sure you need to use suphp or fastcgi to prevent scripts run as apache/nobody.
With this 640 permissions and open_basedir not really necessary.



