[Thunar-dev] Network access in thunar?

Danny Milosavljevic danny.milo at scratchpost.org
Sun Aug 13 14:04:55 CEST 2006


On Sat, 12 Aug 2006 22:57:21 +0200, Benedikt Meurer wrote:

> Danny Milosavljevic wrote:
>> Sorry, I only read the trash spec now (and implemented
>> http://www.scratchpost.org/hacks/trasher/ :)). I see that the trash
>> directory name uses the user ID instead of the name. baaad.
> Using the name would be even worse... But before this discussion becomes
> totally off-topic, imagine a simple use case: You have a private website
> were you upload stuff via FTP, and your quota is 5MB. Now you reached
> 4.9MB and want to delete some stuff. So deleting 20 images, up to
> 500KiB, but your total size is still 4.9MB!? How many people would look
> into the trash now?

They'd probably learn to look into the trash after the first
time that happens. 

The actual problem is that users don't expect the trash to be cleared
automagically (as a real-world trash would be). 
If they would, I'd do:
if no space available on filesystem for new file A, clear oldest trash
entries until there is.


But that will inevitable lead to "You bastard! You emptied my trash! I had
life-important documents in there" ;)


More information about the Thunar-dev mailing list