Permissions issue with PostgreSQL backup

Dumping PostgresSQL database wavelets ..
.. dump failed! <pre>pg_dump: [custom archiver] could not open archive file "/tmp/.webmin/": Permission denied

I get the above error when backing up with Virtualmin, despite PostgreSQL module successfully backing up. exhibits this problem, but backing up the domain takes too long to be useful as a test case. I'll set you up another test case, if you need one.

Closed (fixed)