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

Thread: [SOLVED] Can't empty trash can due to files permissions

  1. #1
    Join Date
    Mar 2008
    Beans
    104

    [SOLVED] Can't empty trash can due to files permissions

    I can't empty the trash can because I moved a folder with read-only permissions. I tried restoring the folder back to my desktop and I can't. I also tried modifying the permissions to create and delete, but it says it can't be done. This is the error I get:
    The backend does not support the operation.
    How can I fix this? Thanks in advance.
    Last edited by Tasc0; May 15th, 2008 at 12:46 AM. Reason: Tagging as solved.

  2. #2
    Join Date
    Jun 2007
    Location
    Michigan, USA
    Beans
    465

    Re: Can't empty trash can due to files permissions

    Use
    Code:
    sudo rm -rf ~/.Trash/*
    This will do the trick.
    Ubuntu 14.04 Server
    -Linode 1GB
    Ubuntu Mate 16.04 Laptop
    -Toshiba Satellite A505-6005, Intel i3, 4.00 GB ram

  3. #3
    Join Date
    Jul 2007
    Location
    Chicago, Illinois
    Beans
    688
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't empty trash can due to files permissions

    Quote Originally Posted by Thirtysixway View Post
    Use
    Code:
    sudo rm -rf ~/.Trash/*
    This will do the trick.
    Not if he is on hardy it won't. The trash directory is now in ~/.local/share.Trash/files
    So the command would be
    Code:
    sudo rm -r ~/.local/share/Trash/files/
    Last edited by macaholic; May 14th, 2008 at 11:54 PM.
    System76 Gazelle Professional (GazP6)
    Intel Core i7 2820QM, 8GB DDR3, nvidia GTX 460m, OCZ Vertex 3
    System76 Starling (star4) Netbook.
    Get Dropbox!

  4. #4
    Join Date
    Mar 2008
    Beans
    104

    Re: Can't empty trash can due to files permissions

    Thanks for replying, but I read on this forum that I should not run any command containing "rm".

  5. #5
    Join Date
    Apr 2007
    Location
    Morrisville, NY
    Beans
    2,153

    Re: Can't empty trash can due to files permissions

    Yeah I reported both posts.

  6. #6
    Join Date
    Jul 2007
    Location
    Chicago, Illinois
    Beans
    688
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't empty trash can due to files permissions

    Quote Originally Posted by strAlan View Post
    Yeah I reported both posts.
    Reported them? I didn't realize he added the "f", and I fixed my post and now it is just "r", which isn't nearly as bad. And secondly theres nothing wrong with using the rm command itself, its just when people misuse it and delete their entire home directory.

    Using the rm command is the easiest way to delete those files, unless you want to screw your GUI up and run gksu nautilus, navigate to the files and delete them that way.
    Last edited by macaholic; May 14th, 2008 at 11:53 PM.
    System76 Gazelle Professional (GazP6)
    Intel Core i7 2820QM, 8GB DDR3, nvidia GTX 460m, OCZ Vertex 3
    System76 Starling (star4) Netbook.
    Get Dropbox!

  7. #7
    Join Date
    Apr 2007
    Location
    Morrisville, NY
    Beans
    2,153

    Re: Can't empty trash can due to files permissions

    I'm kidding - you guys didn't do anything wrong, just OP is newb and rightfully thinks you're trying to get him to do something to damage his system. Let him figure it out.

  8. #8
    Join Date
    Jul 2007
    Location
    Chicago, Illinois
    Beans
    688
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't empty trash can due to files permissions

    Quote Originally Posted by strAlan View Post
    I'm kidding - you guys didn't do anything wrong, just OP is newb and rightfully thinks you're trying to get him to do something to damage his system. Let him figure it out.
    Well him being a noob and all, you shouldn't make him think that everytime someone tells him to run a rm command that he is going to nuke his system, that's just not true. People believe things that you tell them more often then you would think.

    Also just for the record, NEVER run sudo rm -rf unless you know exactly what your about to delete. You can get 90% of your removing needs with just -r without the f.
    System76 Gazelle Professional (GazP6)
    Intel Core i7 2820QM, 8GB DDR3, nvidia GTX 460m, OCZ Vertex 3
    System76 Starling (star4) Netbook.
    Get Dropbox!

  9. #9
    Join Date
    Apr 2007
    Location
    Morrisville, NY
    Beans
    2,153

    Re: Can't empty trash can due to files permissions

    I'll keep it to a PM next time.

  10. #10
    Join Date
    Mar 2008
    Beans
    104

    Re: Can't empty trash can due to files permissions

    In what directory can I found the trash can and its files?

Page 1 of 2 12 LastLast

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
  •