get around truncate permission error on server