• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Weird error in Fedora Core 4 & Gnome

Robor

Elite Member
Okay, I've got a laptop with Ubuntu 5.10 loaded up and configured how I like it. I make a backup of my Firefox bookmarks every few days or so to a USB thumbdrive. I'm early in the process of setting up my 'server' desktop system with Fedora Core 4 and I wanted to get my bookmarks so I put the thumbdrive into my FC4 box. I notice that I've got about 1.5 GB of data that I don't need (users MyDocs, etc) on the thumbdrive so I delete it. It goes to the trash instantly. I attempt to empty the trash and I get an error about permissions.

Okay, I sign in as 'root' and look in /home/robor/.trash and it says it's empty. I reboot and log in as myself again and the data is still showing in the trash. I browse to /home/robor/.trash and it still says it's empty. I sign out, log in as root, and delete the user and group 'robor'. I verify that the /home/robor directory is gone and it is. I recreate the same robor user and log in as it. The data is still in the trash and I can't delete it. 😕

I yank the USB pendrive and stick it in a WinXP Pro box and guess what's there? A folder called ./robor/trash (not positive but I think that was it) with all of the data I was originally trying to delete. I delete it from the pendrive on the WinXP box (took about 5 minutes) and logged back into the FC4 box as robor and there was no items in the trash anymore. I replugged the pendrive on the FC4 box and verified the huge folder was gone and it was.

Everything is fine now but I'd like to understand why this happened. Did this happen because I tried to move too much data from the pendrive to trash or because it tried to empty the trash too early or another reason?
 
Fedora probably keeps trash on the same volume that it came from. Imagine you had your /home mounted on a 5 gig partition and tried to delete 20 gigs of stuff from, say, an external hard drive. Obviously it can't move that stuff into /home/robor/.trash. If you went on the commandline to where ever the pendrive was mounted (/mnt somewhere?) you'd probably see that trash folder that you saw from windows. Windows, I believe, does something similar with a recycle bin storage space on each partition.

As for the error about permissions, I dunno, seems kinda odd. If you simulate the situation again and check out where the pendrive is mounted, can you report the rwx values for it's folders, particularly the trash?
 
I remember the permissions in the Trash folder as I tried to change them as root and robor. When I clicked in the box it would check then go away immediately - no error. They were as follows:

Owner: RWX
Group: R_X
Others: R_X

I was the owner and the file group was me as well.
 
Sorry, should have been more clear. Not the permissions of the files as they appeared in the gui version of the trash, the permissions on the folders as you see them under /mnt, or wherever the pendrive was mounted. Now that I think about it, the reason you couldn't change permissions in the gui was probably that the drive had fat32 on it and fat doesn't do unix rwx.
 
Back
Top