NPM update changes critical Linux filesystem permissions, breaks everything

A recent update to the Node Package Manager introduced a bug that caused it to interfere with the operating system, by locking the system itself out of numerous mission-critical files