Converting CSV to .ods Format

I am running LibreOffice 3.5.7.2 under Linux Mint 13. Currently I am developing an application written in Python that needs to convert a CSV file into a .ods file. If I use the command “soffice --headless --convert-to ods -outdir /tmp /tmp/tmpPMQama” where “tmpPMQama” is a temporary file in CSV format the .ods file is created only if I run it as ‘root’ despite the ‘/tmp’ directory being ‘rwxrwxrwx’ - i.e. read & write for everyone. Running the application as ‘root’ is unacceptable for many reasons but if the file is not converted the application cannot move to the next stage.

Any suggestions much appreciated…