Quote:
Originally Posted by deback
This is a Calibre problem then (which should be fixed), since other programs will deny access to delete temp files when they are in use. Perhaps someone could report this bug to the author of the software...
|
I don't think so. It is a temporary location and it is by default not a system or in other way's restricted place. The only way you can't delete a file in this area is because the file is in use at the moment where you try to delete files from this directory.
This behavior happen with all programs where a clean-up tool try delete temp folders. That's why most cleaners have a option to define exceptions in this cleaning process. The problem is more, that most people do not take care about setups and as more programs doing this stupid cleanups (delete anything what is called, mention or smelling like temp) it became more possible to delete what have to be never cleaned. The point is, that a program have to take care to cleanup his own mess (what calibre as most other programs theses days do; it is best practice for a serious programmer) - but cleaning tools with a "one click care" give the responsibility of using this tools to the user and you as an user have to remember it and use them the right way (even too if you don't know that there are running in background). That is in the end the story behind.
When Kovid and all other programmers do what you want, where will this end? The next specialist come in the moment you implement this and will blame a programmer again because of not deleting temp files and the discussion start again as a never ending story. And in the end we start again to have thousands of places where programs leave temp files (we had this situation already in the past, if you are old enough I am sure you can remember this times...) Cleanup tools are both, good and bad and you as user need to take the responsibility about what they are doing all the time you are using them. That's the problem with illusionary one-click care and healthiness w/o the need to understand what a tool is doing ...
By the way, what I described above is already happening. Cleanup tools became more and more a status of useless / anachronism and systems are growing within short time with huge useless data match.