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

Thread: can't empty recycle bin!

  1. #1

    Default can't empty recycle bin!

    I have hundreds of files in the recycle bin and I can't get rid of them. When I try to empty the bin nothing happens. If I browse the recycle bin I see hundreds of files are still there. So, I right click one of the files and select "delete permanently". Then I get the message "Error while deleting. (Show more details gives "Error removing file:Read-only file system")". When I check the permissions for the file I see Owner:Read and write, Group:Read-only, Others:Read-only. Attempts to change the permissions result in the error "Sorry, could not change the permissions of "xyz.txt": Operation not supported by backend".
    If I log in as root could I then empty the recycle bin of a user? If so, how do I find the users recycle bin in the file system?
    Is there any way that I can empty my recycle bin as a logged-in user?
    The problem has probably been caused by deleting files from a usb drive (however they were files that I put onto the usb drive with the same computer and same log in).

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,590
    Blog Entries
    14

    Default Re: can't empty recycle bin!

    From Menu, System, File Manager start File Manager with administrator modus. From there you should be able to empty the bin.
    Another possibility is to connect the USB-drive and mount the partitions, then try again to empty trash.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: can't empty recycle bin!

    Quote Originally Posted by Knurpht View Post
    From Menu, System, File Manager start File Manager with administrator modus. From there you should be able to empty the bin.
    Another possibility is to connect the USB-drive and mount the partitions, then try again to empty trash.
    The recycle bin I want to empry is the one on my Gnome desktop, not on the usb drive.
    I tried the file manager as suggested but how do I open it with administrator modus?

  4. #4

    Default Re: can't empty recycle bin!

    Log in as root user.

    Or, open terminal, log in as root, enter 'nautilus'.

  5. #5

    Unhappy Re: can't empty recycle bin!

    Thanks for the advice. I logged in a root and entered "nautilus" which started the file manager in admin mode. Unfortunately I get exactly the same error messages when I try to empty the recycle bin or delete files from it.
    A friend who uses the Windows OS (wow that's really retro!) suggests reformatting the hard disc and then re-installing the OS. She says that is what she does when something goes wrong and it works every time. I hope that OpenSuse is a bit more advanced than that and that I can empty the recycle bin without having to re-install the OS.

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,014
    Blog Entries
    1

    Default Re: can't empty recycle bin!

    A friend who uses the Windows OS (wow that's really retro!) suggests reformatting the hard disc and then re-installing the OS. She says that is what she does when something goes wrong and it works every time. I hope that OpenSuse is a bit more advanced than that and that I can empty the recycle bin without having to re-install the OS.
    That would be drastic and unnecessary action.

    Open a console and navigate to ~/.local/share directory with

    cd ~/.local/share

    Now do

    su (to become root user, enter root password when prompted)

    There is a directory called 'Trash'. You can safely delete this directory with

    rm -r Trash

    No more trash! It will get recreated the next time you right-click on a file and select 'Move to Wastebin'

  7. #7
    duo NNTP User

    Default Re: can't empty recycle bin!

    > I hope that OpenSuse is a bit more advanced than that and that I
    > can empty the recycle bin without having to re-install the OS.


    yep, there are a lot of thing that were routine with Redmond products
    that are completely unnecessary, and downright WRONG here..

    rebooting every time something goes wrong is one..
    format and reinstall is another..
    downloading and double-clicking a zip to install is a third..

    there must be about 500 more..

    you will probably shorten your learning curve by reading these:

    _Linux is Not Windows_ at http://linux.oneandoneis2.org/LNW.htm

    and, _SUSE Basic Concepts_ at http://en.opensuse.org/Concepts

    and, welcome to adult software..

    --
    duo

  8. #8
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: can't empty recycle bin!

    Quote Originally Posted by deano_ferrari View Post
    That would be drastic and unnecessary action.

    Open a console and navigate to ~/.local/share directory with

    cd ~/.local/share

    Now do

    su (to become root user, enter root password when prompted)

    There is a directory called 'Trash'. You can safely delete this directory with

    rm -r Trash

    No more trash! It will get recreated the next time you right-click on a file and select 'Move to Wastebin'
    This should work but theoretically, you should not have come across the permission problem. I doubt that there is something else to it. You will come to know when you execute the "rm -r Trash" command. Just see if it works OK.

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,014
    Blog Entries
    1

    Default Re: can't empty recycle bin!

    This should work but theoretically, you should not have come across the permission problem. I doubt that there is something else to it. You will come to know when you execute the "rm -r Trash" command. Just see if it works OK.
    I have encountered this occasionally. It can happen for example if one was to download and install a tarball package with 'make install' command as root. Files with root permissions can end up in user directories. If later removed via 'rm' command (as root) all is well. If removed via GUI 'Move to Wastebin' operation instead, then things can go wrong.

  10. #10
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: can't empty recycle bin!

    Quote Originally Posted by deano_ferrari View Post
    I have encountered this occasionally. It can happen for example if one was to download and install a tarball package with 'make install' command as root. Files with root permissions can end up in user directories. If later removed via 'rm' command (as root) all is well. If removed via GUI 'Move to Wastebin' operation instead, then things can go wrong.
    Yea, OK, that is a possibility.

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
  •