Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Unable to delete files

  1. #11
    Join Date
    Jun 2014
    Beans
    7,918

    Re: Unable to delete files

    From post 4 you show the below output which is incorrect and should be "/home/eric/.local/share/Trash/". What happened when you highlighted a file and did Shift+Delete?

    rm -rf ~/.local/Trash/* and the files are still there
    I don't know why you have a duplicate path or how that happened, shown below and referred to by oldfred.

    /home/eric/.local/share/Trash/files/3962403877/Old1/.local/share/Trash/files/.eteks/sweethome3d

  2. #12
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Unable to delete files

    Quote Originally Posted by yancek View Post
    I don't know why you have a duplicate path or how that happened, shown below and referred to by oldfred.
    I suspect the OP tried to use a GUI to delete the files again, causing a little recursion. Most file managers have an "Empty Trash" - or some locally appropriate term, in the file manager to clean the trash bins. Don't know if anyone already suggested using this or not.

  3. #13
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,751

    Re: Unable to delete files

    According to man e2fsck, you need to use a -p flag (for preen, apparently) in order to actually fix the problems found. The man page does say that repairing is optional.
    sudo e2fsck -p /dev/whatever

  4. #14
    Join Date
    Mar 2009
    Beans
    24

    Re: Unable to delete files

    Tried your suggestion and get this result
    chmod: cannot access '/home/eric/.local/share/Trash/files/2484184567/Halloweenpeanuts.jpg': Structure needs cleaning

  5. #15
    Join Date
    Mar 2009
    Beans
    24

    Re: Unable to delete files

    I have made a backup on another drive and excluded the udeletable files in the Trash will restore from this drive and hopefully the problem will be solved. Thanks again for all the suggestions.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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