 |
 |
 |
 |
| EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life. |

31st March 2007, 05:47 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 99

|
|
|
FC5: Trash can is acting strangely.
Recently I reinstalled Fedora, keeping my home folder from before. Unlike before, however, /home is on its own partition. Now, when I delete something from, say, my desktop, it won't show up in the trash can, but is in /home/<user>/.Trash. When I delete something on either of the other two non-root partitions I have mounted, it is moved into *.Trash-<user> and shows up in the trash. Any idea how I can get things I delete from my home folder to show up in the trash?
Last edited by 1xused; 31st March 2007 at 05:50 AM.
Reason: corrected a mistake
|

31st March 2007, 07:36 AM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 3,172

|
|
|
1x
How did you keep your home folder from before?
|

31st March 2007, 04:49 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 99

|
|
|
I saved /home/<user> to another partition, reinstalled, and moved it to the new /home folder. I then used system-config-users to create an account and assign it to use the folder. Except for the trash problem, it has worked.
|

31st March 2007, 05:58 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 3,172

|
|
|
Look in /home/<user>/.gnome/gnome-vfs/.trash_entry_cache (note the periods, you will have to check show hidden)
Here is mine:
/media/storage /media/storage/.Trash-fred
/Shared-space /Shared-space/.Trash-fred
|

31st March 2007, 08:56 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 99

|
|
|
Here was mine:
/ -
/boot -
/mnt/fat /mnt/fat/.Trash-<user>
/mnt/vid /mnt/vid/.Trash-<user>
I tried adding:
/home /home/<user>/.Trash
and logging out/in. I still couldn't see anything from /home/<user>/.Trash in the trash can.
|

1st April 2007, 12:17 AM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 3,172

|
|
|
Try locate .Trash
You may have to (as root) updatedb (this is spelled correctly) in order to find it.
I am not sure where, but your Trash icon is linked to a file other than the one you your /home/<user> folder. It is problably linked to wherever the home directory used to be.
Edit:Have you fully updated your system?( yum update) I seem to remember when FC5 first came out that there was a trashcan problem that was fixed in like the first week.
Last edited by lazlow; 1st April 2007 at 12:47 AM.
|

1st April 2007, 05:51 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 99

|
|
|
I have a dialup connection so I haven't updated everything.
When I search for .Trash I see:
/mnt/fat/.Trash-<user> and /mnt/vid/.Trash-<user>
/root/.Trash and /home/<user>/.Trash
/home/<user>/.nautilus/metafiles/file:2f%2f%<something>.xml, where something is one of the above folders.
Unfortunately, I can't see anything useful about any of these, although I might look in root's trash to see if my stuff is ending up there for some reason.
Any idea what component(s) of the OS I should update to try to get rid of this problem if it can be solved that way?
Thank you for your help so far.
Last edited by 1xused; 1st April 2007 at 05:57 AM.
|

1st April 2007, 06:07 AM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 3,172

|
|
|
I would guess it would be a gnome update(just a guess).
|

1st April 2007, 05:44 PM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 99

|
|
I'll try to update gnome, and if that doesn't work, I'll wait until I can borrow someone's higher speed connection and update everything.
Thanks for your help, lazlow.
(class dismissed  )
|

1st April 2007, 05:53 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
It will be this way for Gnome and KDE I'm pretty sure - It does this because take the example of an external hard drive - If you deleted something and it had to move it to your home's trash, it would take forever moving it between filesystems! Then what happens if you don't empty the trash? The file is permanently off the external disk, and kept on your local harddrive taking up space...
With the .trash-<user> it doesn't take disk space on your local HD, it won't take forever to move since it's the move is contained to one filesystem and also if you choose not to empty the trash, the files are still on the external HD.
Why everything shows up in the trash bin and everything isn't in ~/.Trash is because in Gnome Trash:// isn't a real place - It takes all the trash locations from all the drives and shows them in one spot.
Firewing1
|

1st April 2007, 06:35 PM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 3,172

|
|
|
Firewing
If I understood the OP correctly (possible that I did not) you have it backwards. Stuff is not showing up in the Trash bin but it is in .Trash.
|

1st April 2007, 08:33 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
Oh, you're right... My bad... What are the permissions on ~/.Trash and the files that aren't showing up?
Firewing1
|

2nd April 2007, 05:28 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 99

|
|
Quote:
|
Originally Posted by Firewing1
What are the permissions on ~/.Trash and the files that aren't showing up?
|
Any file deleted from my home directory, no matter its permissions. Currently:
644, root:root
644, me:me
664, me:me
755, me:me
755, me:me
755, root:root
~/.Trash = 700 me:me
I moved root's files to the trash without thinking about the permissions. I wonder why it didn't stop me: I was using the GUI, logged in as myself..
Unfortunately, it's now doing it with the other partitions, too.
/mnt/vid/.Trash-<user>:
777, me:me
777, me:me
777, me:me (folder)
.Trash-<user> = 777 me:me
Last edited by 1xused; 2nd April 2007 at 05:32 AM.
Reason: more info
|

2nd April 2007, 05:33 AM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
I'm betting it's those root:root files - What happens when you get rid of them / take them out of the trash?
Firewing1
|

2nd April 2007, 05:56 AM
|
|
Registered User
|
|
Join Date: Dec 2006
Posts: 99

|
|
|
After deleting the root owned files (while logged in as myself, without sufficient permissions, without any error messages (think about that for a minute)), I logged out/in, and found my trash can empty, although there are still files in both .Trash* folders.
Interesting:
$ cd Desktop; su
# touch file
# chmod 000 file; exit
$ rm -f file
<done>
Is it supposed to be like this?
Last edited by 1xused; 2nd April 2007 at 05:59 AM.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:38 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|