Results 1 to 3 of 3

Thread: Wastebin: 'Could not delete file...'

  1. #1
    Join Date
    Apr 2006
    Location
    Glasgow, Scotland
    Beans
    314
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Wastebin: 'Could not delete file...'

    I seen to have several files that are 'stuck' in my Kubuntu 11.04 (KDE4.6.2) wastebin.

    Whenever I try to empty the wastebin I get the message:
    'Could not delete file /home/ronnie/.local/share/Trash/files/<filename>'

    I think it's because one/more of the files has unusual characters in the filename.

    Is there a way to manually empty the wastebin?

    I've tried Shift+Del and also forcing KDE to delete files after seven days. Two weeks later and the files are still in the wastebin.

    Any ideas?
    Ronnie
    Editor, Full Circle - The FREE Independent Magazine for the Ubuntu Community
    Official Ubuntu Member | Registered Linux User # 456627 | Registered Ubuntu User # 18227

  2. #2
    Join Date
    Oct 2008
    Location
    Manipal, India
    Beans
    178
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Wastebin: 'Could not delete file...'

    try running:
    Code:
    sudo rm *path to file*

  3. #3
    Join Date
    Apr 2006
    Location
    Glasgow, Scotland
    Beans
    314
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Wastebin: 'Could not delete file...'

    Quote Originally Posted by ambdeep View Post
    try running:
    Code:
    sudo rm *path to file*
    ... almost!

    Code:
    sudo rm -r <directory>
    did it.

    Thanks for the nudge in the right direction though!
    Ronnie
    Editor, Full Circle - The FREE Independent Magazine for the Ubuntu Community
    Official Ubuntu Member | Registered Linux User # 456627 | Registered Ubuntu User # 18227

Tags for this Thread

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
  •