That was part of it. I tried that, but with the Passenger thing but it wouldn't run. So I output the passenger script that I was able to modify and run properly.
Ended up doing:
chown -R 'joebloggs':staff '/Homes/joebloggs'
chmod -R 700 '/Homes/joebloggs'
chown 'joebloggs':staff '/Homes/joebloggs'
chmod 755 '/Homes/joebloggs'
Thanks for the reply
I'm just learning these commands, so forgive the ignorance. Looking at those four commands, is the third command redundant? Is that command not already done by the first command? If I run just the first, second and fourth commands, will that give the same result or is there something that I'm missing with the -R or with the second command?