I suggested an edit to an answer I consider dangerous, and it was rejected with the reason
This edit was intended to address the author of the post and makes no sense as an edit. It should have been written as a comment or an answer.
The answer suggests using a potentially destructive windows command to update one's PATH: SETX
. This command truncates the PATH's value to the first 1024 characters, from which there is no easy recovery. The answer does mention a limit on path size, but offhandedly and without a disclaimer about data loss.
I added a comment with the warning but, in my opinion, the potential for data loss warrants editing the answer with a disclaimer. I think a comment warning is too easy to miss. Luckily, I saved my PATH before trying SETX
out, but other people have been bitten by SETX
's truncating. I know it would have ruined my day.
I looked elsewhere on MSO to see what the consensus is. From a similar question, the answer seems to be similar to my opinion on the issue, and in the answer to another question it links to about git reset --hard
and data loss warnings, the answerer edited warnings into dangerous answers.
Occasions when editing someone's answer is not a good idea, like when adding information, doesn't seem to be this case. The solution stays the same, except for the warning of a possible dangerous outcome.
Have I incorrectly gauged the community's stance on edits like this?