[00:28] <shakes808> How do I copy a file from one account to another account on the same computer?  I tried ->  http://tinyurl.com/gqtm7ep Here is the command I am doing -> http://pastebin.com/XBfpNZsm
[00:29] <shakes808> a text file gets put on user2's desktop
[00:47] <cmaloney> shakes808: First: If you're going to chain two sudo commands you'll want to do the following:
[00:47] <cmaloney> sudo -s
[00:47] <cmaloney> [enter password]
[00:48] <cmaloney> cp /path/to/source /path/to/dest && chown user2:user2 /path/to/dest
[00:48] <cmaloney> chaining two sudo commands with && won't work
[00:49] <jrwren> iirc there is a sudo flag which will pass the success of the subprocess through as success to sudo
[00:51] <jrwren> shakes808: what you did should work. What is in this test file on user2'd desktop?
[00:51] <jrwren> shakes808: make by the source file is also a text file. ;]
[01:01] <shakes808> cmaloney: tried it that way and still just puts an empty file on the desktop
[01:02] <cmaloney> Do you have enough disk space? :)
[01:02] <shakes808> jrwren: nothing is in the file, just want to rename it over there
[01:03] <shakes808> cmaloney: clean computer.  fresh install of ubuntu 16.04.01
[01:03] <shakes808> wiped the laptop of any traces of window
[01:03] <shakes808> windows*
[01:04] <cmaloney> try this:
[01:04] <cmaloney> rsync -avip /path/to/source /path/to/dest
[01:04] <cmaloney> and see what that does
[01:04] <cmaloney> (as sudo)
[01:06] <shakes808> put over an empty file that had a lock on it.
[01:07] <jrwren> i claim the source file is empty.
[01:07] <cmaloney> agreed
[01:07] <shakes808> http://pastebin.com/RvzNF1VV
[01:07] <cmaloney> or the file has a lock that needs releasing
[01:07] <jrwren> pastebin output of `ls -al $sourcefile` and `file $sourcefile`
[01:07] <cmaloney> ^^
[01:09] <shakes808> http://pastebin.com/gET5DTLx
[01:11] <jrwren> and there it is. that is an empty file.
[01:12] <shakes808> the source?
[01:12] <shakes808> I just had it opened
[01:12] <shakes808> let me try it again
[01:13] <jrwren> the ls command says 0 bytes. read the output.
[01:13] <shakes808> .... doing the same thing on the source one.
[01:13] <jrwren> the file command says it is empty
[01:13] <shakes808> jrwren: I see that.  But I had it opened after I downloaded it
[01:13] <shakes808> let me download it again
[01:19] <shakes808> alright, worked that time.  I don't know what happened.  I had the pdf opened and verifying that what I needed on this computer was there for my son :(  Redownloaded it and it transfered now
[01:20] <shakes808> what would cause a pdf to do that?
[01:21] <jrwren> i dunno... acrobat reader executes javascript embedded in PDF. mabye it was self destructive message.
[01:24] <shakes808> hmmm interesting
[01:29] <jrwren> i should have included a ;]
[01:30] <jrwren> i doubt that is what happened, but i suppose its possible.
[01:30] <jrwren> pro tip: don't use adobe reader.
[01:38] <shakes808> is that the same thing as Document Viewer?
[01:38] <cmaloney> No, the document viewer is "evince"
[01:39] <shakes808> didn't think so
[16:59] <greg-g> Today is Debian Day, 23 years old! We have 8 people on staff who are DDs. It feels good :)
[17:00] <rick_h_> greg-g: <3
[17:00] <jrwren> <3
[17:01] <jrwren> I love DDs. debian-devel is such a great email list to lurk on. usually, high signal to noise, and great way to learn by following.
[17:36] <cmaloney> <3 <3
[18:13] <cmaloney> DS9 was awesome
[18:13] <cmaloney> MOst of Benson made the jump to Trek.;)
[18:13] <cmaloney> feh
[18:14] <cmaloney> talk about mischan. ;)
[18:16] <greg-g> I was like "DD is kiiinda like DS9" ;)
[18:16] <jrwren> Benson? wtf?
[18:17] <cmaloney> heh
[18:17] <cmaloney> Listening to Back to Work live
[18:17] <cmaloney> 5by5.tv
[19:45] <Scary_Guy> https://www.facebook.com/events/1768174886795537/permalink/1776277639318595/ playlist is up