Don't su to sageserver --- sageserver can't chown, etc.
Be more explicit about printing errors