copy file from other user home to root directory 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]