Has something similiar ever happened to you?
Ask HN: What is the worst that ever happened when you slipped with a mouse?
1–10 of 14 posts
Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#2Every file that had a symlink pointing to it was overwritten (including most of bin and etc and the backup disk which was unmounted at the time). The system was completely broken, and had to be reinstalled from scratch.
Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#3Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#4GUI software typically has confirmation and undo as high priorities. Most software that doesn't is throwing away a lot if the benefit of GUI.
Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#5Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#6I once watched a coworker do a complete ls -lR of a remote customer system he was working on so that he could copy-paste the listing to a text editor. Unfortunately, he accidentally hit the middle mouse button while he was still over the terminal window. And he was logged in as root. Every file that had a symlink pointing to it was overwritten (including most of bin and etc and the backup disk which was unmounted at…
Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#7End result is we took the equipment in question out of the normal operator controls and put it in the safety system PLC to remove direct control by fat fingered (butts) of operators.
Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#8Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#9Re: Ask HN: What is the worst that ever happened when you slipped with a mouse?
#10I once watched a coworker do a complete ls -lR of a remote customer system he was working on so that he could copy-paste the listing to a text editor. Unfortunately, he accidentally hit the middle mouse button while he was still over the terminal window. And he was logged in as root. Every file that had a symlink pointing to it was overwritten (including most of bin and etc and the backup disk which was unmounted at…
Default behavior being for a single mouse button to paste and run (if it contains newlines) whatever's on the clipboard always seems dangerous to me. Beyond the accidental mistakes, I bet a website could catch a lot of people out about not checking in a text editor if it presented an innocuous command then swapped it out (with JS or tiny invisible text) for something nefarious when copied.
This is a consequence of "bracketed-paste mode".