LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 11-18-2018, 10:20 PM   #16
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21

cp -R /media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom /home/tom/
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/91DB9FC65C8A671CB624CB6093DA22C6FA7C2BAF': No such file or directory

What is happening here?

cp -R /media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom /home/tom/
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/91DB9FC65C8A671CB624CB6093DA22C6FA7C2BAF': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/5EA2DF23DE0AE8A37A723B9AB88B1A03E056E06C': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/7382E52C4EB229723C4F58CE2B114877204C1080': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/04423455D7160C15B133D891C20BBE4F7667AC10': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/15C557C90FF1099CB7C001C228153A0F73566D9A': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E06ECC8BC40308CCFBEA128AF20FFA329F6FC1D7': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/BDD409CA7276B5374C80F4EF47864231D642C384': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E5A9B8C368ED0377888E6B020EB9E84641BEEE42': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/2E216ED2E1DDA0AC7758D9A1135429C86C4EF929': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/732E56DF6AC0C500D4EF659F47615328E23B5A00': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/F4965364C59569BF723A999BAA3FFF6CF3064965': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/B2294B66D9AC02C8CCA87A7EF0064444814495EB': No such file or directory
^[[F^C
tom@tom-Inspiron-1520:~$ cp -R /media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom /home/tom/
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/91DB9FC65C8A671CB624CB6093DA22C6FA7C2BAF': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/5EA2DF23DE0AE8A37A723B9AB88B1A03E056E06C': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/7382E52C4EB229723C4F58CE2B114877204C1080': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/04423455D7160C15B133D891C20BBE4F7667AC10': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/15C557C90FF1099CB7C001C228153A0F73566D9A': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E06ECC8BC40308CCFBEA128AF20FFA329F6FC1D7': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/BDD409CA7276B5374C80F4EF47864231D642C384': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E5A9B8C368ED0377888E6B020EB9E84641BEEE42': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/2E216ED2E1DDA0AC7758D9A1135429C86C4EF929': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/732E56DF6AC0C500D4EF659F47615328E23B5A00': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/F4965364C59569BF723A999BAA3FFF6CF3064965': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/B2294B66D9AC02C8CCA87A7EF0064444814495EB': No such file or directory
cp: cannot access '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/dconf': Permission denied

sudo cp -R /media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom /home/tom/
[sudo] password for tom:
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/91DB9FC65C8A671CB624CB6093DA22C6FA7C2BAF': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/5EA2DF23DE0AE8A37A723B9AB88B1A03E056E06C': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/7382E52C4EB229723C4F58CE2B114877204C1080': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/04423455D7160C15B133D891C20BBE4F7667AC10': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/15C557C90FF1099CB7C001C228153A0F73566D9A': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E06ECC8BC40308CCFBEA128AF20FFA329F6FC1D7': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/BDD409CA7276B5374C80F4EF47864231D642C384': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E5A9B8C368ED0377888E6B020EB9E84641BEEE42': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/2E216ED2E1DDA0AC7758D9A1135429C86C4EF929': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/732E56DF6AC0C500D4EF659F47615328E23B5A00': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/F4965364C59569BF723A999BAA3FFF6CF3064965': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/B2294B66D9AC02C8CCA87A7EF0064444814495EB': No such file or directory

Why is it looking for files not on /media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom? They are indeed not there.
 
Old 11-19-2018, 12:58 AM   #17
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
I would say the pendrive is in use, that's why the content was modified. But you need to know more about it.
By the way, do not put sudo in front of command "just for fun". You will make more troubles than you could solve.
 
Old 11-19-2018, 08:05 AM   #18
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by pan64 View Post
I would say the pendrive is in use
I remembered I had Alarm Clock applet on it. I just disabled it, but I still get:
ron-1520:~$ sudo cp -R /media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom /home/tom/
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/91DB9FC65C8A671CB624CB6093DA22C6FA7C2BAF': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/5EA2DF23DE0AE8A37A723B9AB88B1A03E056E06C': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/7382E52C4EB229723C4F58CE2B114877204C1080': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/04423455D7160C15B133D891C20BBE4F7667AC10': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/15C557C90FF1099CB7C001C228153A0F73566D9A': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E06ECC8BC40308CCFBEA128AF20FFA329F6FC1D7': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/BDD409CA7276B5374C80F4EF47864231D642C384': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/E5A9B8C368ED0377888E6B020EB9E84641BEEE42': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/2E216ED2E1DDA0AC7758D9A1135429C86C4EF929': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/732E56DF6AC0C500D4EF659F47615328E23B5A00': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/F4965364C59569BF723A999BAA3FFF6CF3064965': No such file or directory
cp: cannot stat '/media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom/.cache/mozilla/firefox/mwad0hks.default/cache2/entries/B2294B66D9AC02C8CCA87A7EF0064444814495EB': No such file or directory

Quote:
Originally Posted by pan64 View Post
By the way, do not put sudo in front of command "just for fun". You will make more troubles than you could solve.
I used sudo because I previously got "permission denied" when I ran the command w/o sudo. I am going to remove the Alarm Clock applet to see if I get different behavior.
 
Old 11-24-2018, 01:04 PM   #19
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
I copied from tom from media to home on the new drive:

sudo cp -R /media/tom/9983149b-3a05-462b-96a6-939625e6c7b6/tom /home/.

All the folders I moved now have a padlock on them. I can open them, they are not locked. A few folders that were not locked are now locked. For example the Dogs folder (just has information about our dogs). I have to enter my password to open it. I thought about adding -p. Did not preserve as the owner on both drives is tom and password is the same.
Attached Thumbnails
Click image for larger version

Name:	Folders.png
Views:	4
Size:	3.7 KB
ID:	29045  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Time taken to copy data from PC to External USB HDD and External USB HDD to PC will same? jegadezz Linux - Newbie 3 11-14-2017 09:22 AM
copy installation from one HDD to another, which directory NOT to copy? bfzhou Linux - Newbie 9 03-16-2016 11:59 AM
Want to change how pasted files are named "(copy)," "(another copy)," "(3rd copy)" L a r r y Linux - Desktop 3 08-24-2013 03:39 PM
[SOLVED] How do I copy root the file system of an internal hdd to a usb hdd completelinuxnube Slackware 8 08-06-2012 02:22 PM
Anyone know of a readily available hdd to hdd copy utility? lumix Linux - Software 1 03-29-2007 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration