Man's silly mistake of code error leads to delete entire company
Man's silly mistake of code error leads to delete entire company
Share:

Biggest fault, by man,deleted his entire company and the websites of his clients by typing a wrong bit of code, by mistake on his computer server.

Marco Marsala, ran a web hosting company with over 1,535 customers that looks after the servers and internet connections on which the files for websites are stored.

On April 14, the man wrote on a forum for server experts ‘Server Fault’,that he was stuck after accidentally running destructive code on his own computers, consisting the websites of his customers

The compamy commented, “The code, “rm -rf”, deleted everything and blocked the helpful warnings that usually inform the user that something is being deleted. He hadn’t specified what he wanted deleted, it erased everything, The Independent reported without mentioning where the company is based”

“I accidentally ran, on all servers, a Bash script with a rm -rf {foo}/{bar} with those variables undefined due to a bug in the code above this line,” he said

He confirmed, “the code had even deleted all of the backups that he had taken as the drives that were backing up the computers were mounted to it, the computer managed to wipe all of those too.

Most experts informed him that he had just accidentally deleted the data of his company and its clients, and in doing so had probably destroyed his entire company with just one line of code.”

He added,“All servers got deleted and the offsite backups too because the remote storage was mounted just before by the same script (that is a backup maintenance script,”

Join NewsTrack Whatsapp group
Related News