Deleted files on shares going to ".Trash-1000"?
Posted: Sun Jan 09, 2011 6:36 am
... instead of to greyhole attic... Am I missing something here... I'm having fits trying to delete some legacy files on my test box.. The files keep getting put into either ".Trash-1000" or ".Trash-500" folders with their associated sub-folders and don't seem to be going to the .gh attic folders on the drives?
I've tried deleting these folders, sub-folders, and even individual files without success... I'm hitting Samba mounts when trying to delete them (e.g., /mnt/samba/pictures/.Trash-1000/files/...) using "rm -rf "file" or "folder" name... if I try to delete files, they just don't delete.. if I try to delete folders, it says they're not empty... I've changed ownership and updated permissions etc...
Searches on issues trying to delete .Trash-1000 files go way back in Linux, but I see nothing here on Amahi with or without Greyhole. How does this trash file logic play with the greyhole attic process? How is this supposed to work?
Right now, I delete a file in a share and it goes to .Trash-1000... and the hard drive space is not being recovered... How are these supposed to get to the attic so I can just empty it?
I have a production box as well that I recently migrated to thats been stable for a few weeks that I've done no file management on since the conversion. I just tried to delete a single file in one of my shares from an ubuntu machine via ssh to the /mnt/samba/share_name samba mount on that machine... With no prompting, it is deleted immediately and dropped into a ".Trash-1000" folder behind the scenes. Thinking this might be a Samba mount thing, I browsed to the share directly by navigating via Places/Network/HDA/share_name and deleted a file in the same share folder. System prompted that item cannot be moved to Trash and must be deleted immediately. I confirm and it's deleted. File is not moved to the .Trash-1000. Not sure if it's deleted outright or moved to the attic as greyhole --stats is just reporting in gbs and file size is small.. but there's definitely something different going on depending on how you access and manage these files...
This raises some questions... #1 seems like file should not be deleted from the /mnt/samba/share_name path.. else you end up with these .Trash-1000 folders and a circular pain in the rear trying to delete them... #2 How do I delete these .Trash-1000 folders and their content now that I do have them?
Thanks for any assistance.
jbmia
I've tried deleting these folders, sub-folders, and even individual files without success... I'm hitting Samba mounts when trying to delete them (e.g., /mnt/samba/pictures/.Trash-1000/files/...) using "rm -rf "file" or "folder" name... if I try to delete files, they just don't delete.. if I try to delete folders, it says they're not empty... I've changed ownership and updated permissions etc...
Searches on issues trying to delete .Trash-1000 files go way back in Linux, but I see nothing here on Amahi with or without Greyhole. How does this trash file logic play with the greyhole attic process? How is this supposed to work?
Right now, I delete a file in a share and it goes to .Trash-1000... and the hard drive space is not being recovered... How are these supposed to get to the attic so I can just empty it?
I have a production box as well that I recently migrated to thats been stable for a few weeks that I've done no file management on since the conversion. I just tried to delete a single file in one of my shares from an ubuntu machine via ssh to the /mnt/samba/share_name samba mount on that machine... With no prompting, it is deleted immediately and dropped into a ".Trash-1000" folder behind the scenes. Thinking this might be a Samba mount thing, I browsed to the share directly by navigating via Places/Network/HDA/share_name and deleted a file in the same share folder. System prompted that item cannot be moved to Trash and must be deleted immediately. I confirm and it's deleted. File is not moved to the .Trash-1000. Not sure if it's deleted outright or moved to the attic as greyhole --stats is just reporting in gbs and file size is small.. but there's definitely something different going on depending on how you access and manage these files...
This raises some questions... #1 seems like file should not be deleted from the /mnt/samba/share_name path.. else you end up with these .Trash-1000 folders and a circular pain in the rear trying to delete them... #2 How do I delete these .Trash-1000 folders and their content now that I do have them?
Thanks for any assistance.
jbmia