LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-19-2018, 12:20 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
cp cannot stat


I use the marking program Formreturn. I back it up regularly, coz I don't want to mark by hand.

I tried to copy manually to usb. I get this:

Quote:
pedro@pedro-dodgySSD:~$ cp -v /home/pedro/FormreturnDBbackup/formreturn20180619.tar.gz /media/pedro/KINGSTON/formreturnDBbackup
cp: cannot stat '/home/pedro/FormreturnDBbackup/formreturn20180619.tar.gz': No such file or directory
Is there something special about .tar.gz files which prevents them from being copied?

I triple checked all capital letters and directories, everything is correct.
 
Old 06-19-2018, 12:41 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
ls -l <filename>
I would say it is mispelled, there can be an upcase/lowercase issue.
 
Old 06-19-2018, 09:15 AM   #3
wlotech
LQ Newbie
 
Registered: Jul 2007
Location: Alabama out of Texas
Distribution: Centos/RedHat/Ubuntu
Posts: 3

Rep: Reputation: 0
Question SELinux

Anything in /var/log/messages from SELinux?
 
Old 06-19-2018, 09:33 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
sometimes its easier if you cd into where the file is at , ls to get the correct spelling, set up your command, highlight the file, middle click button, it puts the name in the front of command, finish the path to then hit enter. that is just one other way of doing this.
 
Old 06-19-2018, 10:41 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
or use find to locate/verify:
Code:
find /home/pedro/ -name formreturn20180619.tar.gz -type f
See also https://www.linuxquestions.org/quest...ne-4175632110/

Last edited by Habitual; 06-19-2018 at 10:42 AM.
 
Old 06-19-2018, 02:30 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
As said, it's probably a spelling or path error. The message simply indicates a "file not found" condition.
 
Old 06-27-2018, 07:53 PM   #7
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Alexsoni,
I for one, am reluctant to click on a link to see what your problem/question is, even if it were there, which it's not.

Is it exactly the same as the OP on this thread? Then our discussion here may help you...'tho it's likely to peter out, since the OP has never come back. Folks tend to stop trying to help someone who asks a question then never responds.

Your best bet would be to start a new thread and explain the problem you are having.

Last edited by scasey; 06-27-2018 at 07:54 PM.
 
Old 06-27-2018, 10:13 PM   #8
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by Alexsoni View Post
I also face the same issue if you are interested to solve the issue take a help of Avast Support if anyone is interested to solve the issue simply click on this site.
Reported as Advertising.
 
  


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] hidden symbol `stat' in /usr/lib/libc_nonshared.a(stat.oS) is referenced by DSO harig Programming 1 03-28-2013 06:34 AM
[SOLVED] gcc linker error - hidden symbol `stat' in /usr/lib/libc_nonshared.a(stat.oS) chaosless Linux - Software 1 09-17-2009 12:33 PM
Use of stat() in C rblampain Programming 3 06-02-2005 06:41 AM
cannot stat DAChristen29 Linux - Software 1 05-23-2005 05:54 PM
Linux stat to Windows Stat sridurai Programming 3 09-24-2004 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:42 AM.

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