May 9th, 2004, 08:35 AM
I can't empy my damn trash!
I'm running RedHat 9 since I got bored. I ended up deleting a bunch of stuff while I was su-. The problem now is I get the following error message
Someone who actually knows what they are doing mind giving me a hand?
/home/.... cannot be deleted because you do not have permissions to modify its parent folder.
May 9th, 2004, 08:48 AM
The reason this happens is simply because you deleted a folder or file that had root access while having gnome mod you as temporarily as root (that little key thing in the systray). This means you deleted something, lost the root (gnome removes the temp root access after a few minutes) and can't remove the full thing from the trash because your normal user does not own it.
Here is an idea on how to fix that:
1. Open up a terminal, Xterm, gnome term, I don't care.
2. run the command:
3. Once as root let's head to the needed directory with this command:
4. Now run (carefully!) the command:
And bam, it's all out of the Trash can. However, that directory structure is for Slackware, and while it may be similar since we are both in gnome (I'm in 2.6 I'm assuming 2.4 for you) and thus it may be in /home/username/Desktop/.Trash. Search around a bit to get the proper folder, but the procedure will be the same once you get inside the actual trash folder.
May 10th, 2004, 01:48 AM