Find the answer to your Linux question:
Results 1 to 4 of 4
I had dleted some folders and now they're in trash. But I can't seem to be able to empty the trash. On doing so, I just get dialogue boxes saying ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2005
    Location
    The Slammer
    Posts
    137

    Can't empty trash!


    I had dleted some folders and now they're in trash. But I can't seem to be able to empty the trash. On doing so, I just get dialogue boxes saying that "blah.xyz can't be deleted because you don't have the permission to modify it's parent folder". I've set the permissions as read-write for EVERYONE, but the folders refuse to go. How do I get rid of 'em?

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Find out where in your file directory tree the files are (most likely /home/john/Trash). Now open up a terminal and
    Code:
    su
    [rootpass]
    rm -rf /home/john/Trash/*
    Be *very* carefull with this command, and make sure you pick the right directory to empty.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux Newbie
    Join Date
    Apr 2005
    Location
    The Slammer
    Posts
    137
    Done! Thanx!

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2010
    Posts
    1

    Thanks

    Thanks u )))))))))))

Posting Permissions

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