Results 1 to 6 of 6

Thread: where is 'wastebasket' - and it won't empty !!

  1. #1
    Join Date
    Jun 2006
    Location
    Suffolk, UK
    Beans
    134
    Distro
    Ubuntu 8.10 Intrepid Ibex

    where is 'wastebasket' - and it won't empty !!

    hi

    in my wastebasket i have 2 folders that won't delete

    if i try to do so i get a permissions error from nautilus

    there is no .Trash folder in my or root's home directory !

    where is 'wastebasket' located in the filesystem hierarchy and has anyone any tips for nuking these folders

    (rm -rf ~/.Trash* don't work as i haven't got one !)

    ta

    /neill

  2. #2
    Join Date
    Feb 2008
    Location
    Massachusetts, USA
    Beans
    254
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: where is 'wastebasket' - and it won't empty !!

    It appears that it is possible to have more than one trash. Those folders might also have different permissions on them.

    This thread seems to have some helpful info (especially the "find" command):
    http://ubuntuforums.org/showthread.php?t=509596

    You might want to try:
    $ cd ~/.Trash
    $ ls -la

    >> who are the files owned by and what are the permits. If they are owned by root, you could...

    $ sudo rm -f [name of file here]
    OR
    $ sudo rm -rf [name of dir here]

    Note: I am a fan of individually deleting things. You could remove everything in the trash all at once with a sudo rm command, but that's a little too risky for my liking.
    P5W-DH, E6750, Patriot Viper 4x2GB 1066, Seasonic M12 500w
    Creative Audigy, EVGA GTX 460, HP 2509m
    Kubuntu 12.04 64-bit (KDE 4.8.1)

  3. #3
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: where is 'wastebasket' - and it won't empty !!

    Your trash is in ~/.local/share/Trash/files if you're using 8.04.

  4. #4
    Join Date
    Jun 2006
    Location
    Suffolk, UK
    Beans
    134
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: where is 'wastebasket' - and it won't empty !!

    i am indeed 8.04 and when i ran rm -rf from the cli in ~/.local/share/.Trash/Files the stubborn little blighters vanish !!

    ta da !

    thanks

  5. #5
    Join Date
    Dec 2007
    Location
    Shepperton, UK.
    Beans
    2,489
    Distro
    Ubuntu Development Release

    Re: where is 'wastebasket' - and it won't empty !!

    I notice that there's also some files in the ~/.local/share/Trash/info directory. Is it OK to delete these ?
    Intel E5700 G41 8Gb Xubuntu 13.10, Ubuntu 13.4, WinXP.
    Revo R3610 Win7 Pro, Ubuntu 13.04

    Absolute Beginners Compiz-fusion wiki Local Weather

  6. #6
    Join Date
    Feb 2008
    Location
    Massachusetts, USA
    Beans
    254
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: where is 'wastebasket' - and it won't empty !!

    Yes.

    Under the "Trash" directory, the "files" directory contains the files that were deleted. The "info" directory contains files that specify the deletion date and the path where the file came from. You can view the files in a text editor, "more" or "cat" them if you are curious.
    P5W-DH, E6750, Patriot Viper 4x2GB 1066, Seasonic M12 500w
    Creative Audigy, EVGA GTX 460, HP 2509m
    Kubuntu 12.04 64-bit (KDE 4.8.1)

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
  •