Running Scripts from Events

I'm using Serv-U for Linux, and I have some scripts that run properly when I run them from a command line, however when I run a Test Event in Serv-U, It seems to run half my script then doesn't finish. It seems as though it's not running the script as Root.  What can I check?