Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Cannot delete a file!

  1. #1

    Default Cannot delete a file!

    I wanted to download a pdf file, did it, downloaded in a zip file, uncompressed the files, and I couldn't open them. I wanted to delete them, and it doesn't let me!
    It says the files don't exist any longer. And I still have those garbage files on my folder, on my hard disk!!

    Tried from Dolphin, from console, restarting, no dice! Then I realized that the source zip file was corrupted from the beginning.

    I'm desperate, what can I do?

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: Cannot delete a file!

    Are the files in a folder you can delete?
    Are they on a local partition ie; your /home

    what are the names of the files
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Cannot delete a file!

    From the corrupted zip, which I was able to delete, I extracted a folder with files inside it.

    Some of them I could delete, but the rest I can't. And I can't delete the entire folder neither. And yes, it's on my /home directory, but I don't have /home as a separate partition.
    The files are a pdf book and a html file

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: Cannot delete a file!

    Is there anything else in the folder you need?
    Tell me the path to the folder
    eg: /home/fstyle/problemfolder
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Default Re: Cannot delete a file!

    /home/(username)/Downloads/TROUBLESOME FOLDER
    I don't need this folder, I want to delete it. This is the corrupted folder and the files within it.

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: Cannot delete a file!

    OK
    Your info is a little confusing.

    Here goes. Go to your Downloads folder. You should be able to see the folder you want to remove.
    Right click and open terminal here

    Now type: su
    enter your password
    Now type: rmdir <foldername>
    (Replace <foldername> with the name of the folder. I couldn't decide if it was actually called TROUBLESOME FOLDER or not.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7

    Default Re: Cannot delete a file!

    OK, seemingly I got desperate yesterday and ended up reinstalling whole system, this time with GNOME, of which I've created another thread where I still need help.

    But thank you for your help again. It was my entire fault and I made a mess. Could you check the other thread if you get a chance?
    Thank you again.

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Cannot delete a file!

    On 2012-02-29 16:26, F style wrote:
    >
    > OK, seemingly I got desperate yesterday and ended up reinstalling whole
    > system, this time with GNOME, of which I've created another 'thread'
    > (http://tinyurl.com/7vt84zy) where I still need help.


    Wow, reinstall just because a file can not be deleted. Sometimes this
    happens because the filesystem was corrupted.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,475
    Blog Entries
    2

    Default Re: Cannot delete a file!

    The suggestion by caf4926's caf4926 should have worked, if the folder wasn't empty, you might have to also set the recursive flag.

    Personally, the only orphaned file journalling I've experienced was in the trash bin, and then the problem was so small I considered it easy to overlook.

    TS

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,475
    Blog Entries
    2

    Default Re: Cannot delete a file!

    The suggestion by caf4926's caf4926 should have worked, if the folder wasn't empty, you might have to also set the recursive flag.

    Personally, the only orphaned file journalling I've experienced was in the trash bin, and then the problem was so small I considered it easy to overlook.

    TS

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •