3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions
comment 10y ago · link · parent
More like, this has resulted in things like nonsensical "Cookie warnings" that only waste the user's time.
comment 10y ago · link · parent
...WTF? Is it even possible to write a more egotistical comment? Most doctors (especially surgeons, etc.), along with firefighters, police, etc. derive their respect in "educated circles" not from their pay (that's some of the worst nonsense I've heard this week) but from the kind of work that they do: saving other people's lives, especially in situations where one small mistake on their end can prove fatal for one or more parties involved. That's quite sufficient to deserve a ton of respect just by itself....
comment 10y ago · link · parent
comment 10y ago · link · parent
Maybe I misunderstood the problem. But I think my reasoning holds regardless? To be clear, it seems you're talking about a situation where an app is trying to delete and re-create a file, and an AV is scanning the file in between, hence a recreation fails.
But with their file system filter drivers, AVs can detect such recreation attempts, so they should be able to handle it properly. So isn't it their fault for not doing so?
> Nor does it let you delete a directory while children are open.
Right, but same as above: there exists functionality to detect this, right? So if it isn't used, whose fault is it?
comment 10y ago · link · parent
Regarding antiviruses: yes, of course I am. That's why they should be opening the files with FILE_SHARE_DELETE, and properly handling the edge cases. Unless you're telling me it's impossible (which I strongly suspect isn't the case, but then again I've never tried to write an AV myself), I don't see how it's the OS's fault. This flag and the associated functionality obviously exists for a reason, right? It's not an OS design flaw if people aren't using it, is it? People can refuse to play along with anything... that doesn't mean the OS is flawed.
comment 10y ago · link · parent
The problems here only occur if your app is modifying files that do not "belong" to it. For apps that store config files, databases, etc., these problems should not arise, because those files should only be touched by those apps, and (a) the app is already aware what metadata the file should have and is the one maintaining control over the files, and (b) the app can make sure that it is never using a file that it is trying to delete. If the user is messing with the app's files, then the user is just as responsible for not preventing their deletion as he/she is responsible for not corrupting their contents. You can't blame the deletion behavior for that; the responsibility for proper care rests entirely on the user, and having a different delete behavior doesn't fix the core problem.
For files that don't belong to the app, the situation is entirely different. First, apps should not be deleting files that don't belong to them without user consent. And if the user is consenting, the user is responsible for ensuring this does not cause problems. Second, those that modify files they do not own are responsible for all aspects of this, including preserving metadata. This is of course difficult and quite a burden, but at this point, it is considered a bug in the application if it does not do this correctly. Again, the app is the one mucking with files that it does not own, so the app and the user together are responsible for maintaining consistency, not the OS.