I'm having the same problem. I need to do recursive chmods and when I run MyShell, I show up as user nobody instead of my ftp user, so chmod doesn't work. Anyone know how to change users to the ftp user from within a php script like MyShell -- or do you know of another solution besides actual shell acccess?
Thanks for the link though imajine. It was a good suggestion.