Ubuntu cp as root copy files in /home 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]