Thanks for the reply Jamis.
What I mean is that the cleanup is the last command in the deploy
script and that's where it is failing.
I can't figure out why it would be trying to change directory to tmp.
I guess it could be something my host has implemented (I'm on a shared
space) to protect mali
Is the cleanup task being executed when you deploy? Or did you mean
to say "my cleanup gets all the way to the end..."? (Just confused
there.)
Regarding the permissions error, I have no idea why rm -rf would be
trying to do a chdir. What is the OS on the remote host? Can you
paste the com