LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-01-2024, 09:13 PM   #1
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Rep: Reputation: Disabled
Can't delete files


I have downloaded some records from my bank that I found out later that they were incompatible with MX23.2 Linux Xfce. I deleted the file but after that it put an infinite amount of these empty files on my desktop. It won't let me delete them and I get this error message that doesn't make any sense. How do I get rid of these empty files? Here is a screen shot of it. https://imgur.com/XVGwFLG
 
Old 03-01-2024, 09:18 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Sounds like a permissions issue.

Check the file properties, particularly the ownership of the files. Your file manager should provide some way to show that, perhaps by right-clicking on a file and selecting an option from the right-click menu, and let us know what you find out.

You could also check the permission via the command line by opening a terminal, navigating to the directory, and running

Code:
ls -l
See man ls for more.

Last edited by frankbell; 03-01-2024 at 09:29 PM. Reason: clarity
 
Old 03-01-2024, 09:29 PM   #3
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Check the file properties, particularly the ownership of the files. Your file manager should provide some way to show that, perhaps by right-clicking on a file, and let us know what you find out.
It says I have ownership. It has zero bytes and the first one of the infinite amount of files is called: AncAB4Mf.csv.part
 
Old 03-01-2024, 09:34 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Try this.

Open a terminal, navigate to the directory, and try deleting one of the files as root, and let us know if that works. If you're not sure how to do that (you say you're not familiar with the command line), just ask.

(It's been a while since I used MX and I can't remember whether MX uses sudo or su.)

Last edited by frankbell; 03-01-2024 at 09:41 PM.
 
Old 03-01-2024, 09:45 PM   #5
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Try this.

Open a terminal, navigate to the directory, and try deleting one of the files as root, and let us know if that works. If you're not sure how to do that (you say you're not familiar with the command line), just ask.

(It's been a while since I used MX and I can't remember whether MX uses sudo or su.)
I don't know how to navigate using the terminal. Besides, I check the file permissions and it says I have ownership. If I try to delete any of the now it will lock up the desktop but everything else works. Only rebooting the computer will unlock the desktop.
 
Old 03-01-2024, 09:52 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
What is the name of your file manager?

Later:

What I'm getting at is this: You can open a terminal, become root, then open the file manager from the command line (either with su or sudo [file manager]. Then you can navigate to that directory and try to delete the files from the file manager as root. Then let us know what happens.

I added that because I have to pack it in for the night.

Last edited by frankbell; 03-01-2024 at 10:00 PM.
 
Old 03-01-2024, 10:08 PM   #7
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Original Poster
Rep: Reputation: Disabled
I got the solution here. https://www.linux.org/threads/cant-d...2/#post-221290
 
Old 03-02-2024, 07:59 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,516

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
The image in your initial post shows all the files with a .part extension which means they were not downloaded. If you download a large file, for example a file of several GB, you can look in the Downloads directory and you will see the name of the file with a .part extension and when the file completes the download, that .part file disappears. The link in your last post suggests downloading in .pdf format rather than .csv if possible. It has nothing to do with compatibility with MX. Your original post isn't clear as you state you downloaded some records and then later say you deleted 'the' file. Probably the simplest 'solution' is suggested in the link you posted, to use .pdf files if possible.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need to rsync only selected files (--files-from) also need to delete files on dest. ? BrianK Linux - General 5 10-22-2009 09:52 PM
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-02-2009 11:56 PM
How to delete files that won't delete? di11rod Linux - Security 7 10-19-2005 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:04 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