copy file from postgres user to another user linux code example
Example: linux copy files to share space to copy to other users home
USER1:
cp [filename] /tmp
chmod 777 /tmp/[filename]
USER2:
cp /tmp/[filename]
USER1:
rm /tmp/[filename]
USER1:
cp [filename] /tmp
chmod 777 /tmp/[filename]
USER2:
cp /tmp/[filename]
USER1:
rm /tmp/[filename]