Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 31st March 2007, 05:47 AM
1xused Offline
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
Reply With Quote
  #2  
Old 31st March 2007, 07:36 AM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
1x

How did you keep your home folder from before?
Reply With Quote
  #3  
Old 31st March 2007, 04:49 PM
1xused Offline
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.
Reply With Quote
  #4  
Old 31st March 2007, 05:58 PM
lazlow Offline
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
Reply With Quote
  #5  
Old 31st March 2007, 08:56 PM
1xused Offline
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.
Reply With Quote
  #6  
Old 1st April 2007, 12:17 AM
lazlow Offline
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.
Reply With Quote
  #7  
Old 1st April 2007, 05:51 AM
1xused Offline
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.
Reply With Quote
  #8  
Old 1st April 2007, 06:07 AM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
I would guess it would be a gnome update(just a guess).
Reply With Quote
  #9  
Old 1st April 2007, 05:44 PM
1xused Offline
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 )
Reply With Quote
  #10  
Old 1st April 2007, 05:53 PM
Firewing1's Avatar
Firewing1 Offline
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
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #11  
Old 1st April 2007, 06:35 PM
lazlow Offline
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.
Reply With Quote
  #12  
Old 1st April 2007, 08:33 PM
Firewing1's Avatar
Firewing1 Offline
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
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #13  
Old 2nd April 2007, 05:28 AM
1xused Offline
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
Reply With Quote
  #14  
Old 2nd April 2007, 05:33 AM
Firewing1's Avatar
Firewing1 Offline
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
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #15  
Old 2nd April 2007, 05:56 AM
1xused Offline
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.
Reply With Quote
Reply

Tags
acting, fc5, strangely, trash

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5 - Deleted files appear in .Trash, but not in Trash icon kenninaz EOL (End Of Life) Versions 4 16th November 2012 01:36 PM
'yum upgrade' fails strangely Necator Using Fedora 4 20th February 2007 12:23 PM
fstab acting up strangely any ideas? Ambiguous-69 Using Fedora 18 28th October 2005 06:23 AM
yum behaving strangely ... spawn64 Using Fedora 5 28th July 2005 03:26 AM
Strangely high load coleburn Using Fedora 4 3rd January 2005 09:43 PM


Current GMT-time: 11:38 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat