The "Zimbra directory" is owned by root, so you won't be able to put files in that folder as the user Zimbra. As the Zimbra user, run this:
mkdir ~/tmp
zmprov gdl
pga@pubgroup.com > ~/tmp/dist-list.txt
Your file will be output to /opt/zimbra/tmp (on a default Linux Zimbra install).