Audio By Carbonatix
A man appears to have deleted his entire company with one mistaken piece of code.
By accidentally telling his computer to delete everything in his servers, hosting provider Marco Marsala has seemingly removed all trace of his company and the websites that he looks after for his customers.
Mr Marsala wrote on a forum for server experts called Server Faultthat he was now stuck after having accidentally run destructive code on his own computers. But far from advising them how to fix it, most experts informed him that he had just accidentally deleted the data of his company and its clients, and in so doing had probably destroyed his entire company with just one line of code.
The problem command was "rm -rf": a basic piece of code that will delete everything it is told to. The “rm” tells the computer to remove; the r deletes everything within a given directory; and the f stands for “force”, telling the computer to ignore the usual warnings that come when deleting files.
Together, the code deleted everything on the computer, including Mr Masarla’s customers' websites, he wrote. Mr Masarla runs a web hosting company, which looks after the servers and internet connections on which the files for websites are stored.
That piece of code is so famously destructive that it has become a joke within some computing circles.
Normally, that code would wipe out all of the specific parts of the computer that it was pointed at. But because of an error in the way it was written, the code didn’t actually specify anywhere – and so removed everything on the computer.
“I run a small hosting provider with more or less 1535 customers and I use Ansible to automate some operations to be run on all servers,” wrote Marco Marsala. “Last night 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.”
Mr Marsala confirmed that the code had even deleted all of the backups that he had taken in case of catastrophe. Because the drives that were backing up the computers were mounted to it, the computer managed to wipe all of those, too.
“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).”
Most users agreed that it was unlikely that Mr Marsala would be able to recover any of the data. And as a result his company was almost certainly not going to recover, either.
“I feel sorry to say that your company is now essentially dead,” wrote a user called Sven. “You might have an extremely slim chance to recover from this if you turn off everything right now and hand your disks over to a reputable data recovery company.
“This will be extremely expensive and still extremely unlikely to really rescue you, and it will take a lot of time.”
Others agreed that perhaps Mr Marsala was on the wrong forum.
“You're going out of business,” wrote Michael Hampton. “You don't need technical advice, you need to call your lawyer.”
Many of the responses to Mr Marsala’s problem weren’t especially helpful – pointing out that he could have taken steps to stop it happening before it did.
“Well, you should have been thinking about how to protect your customers' data before nuking them,” wrote one person calling himself Massimo. “I won't even begin enumerating how many errors are simultaneously required in order to be able to completely erase all your servers and all your backups in a single strike.
“This is not bad luck: it's astonishingly bad design reinforced by complete carelessness.”
Mr Marsala’s problem is far from the first time that someone has accidentally destroyed their own system by missing a mistake. Indeed, responses to his post mostly referenced a similar thread posted two years ago, with the headline “Monday morning mistake”.
That error saw someone accidentally lose access to their entire server, after they didn’t notice a stray space in the code.
Latest Stories
-
Gov’t has no clear flood strategy for Accra — Miracles Aboagye
5 minutes -
Avenor collapse: Engineer calls for strict construction site inspections by assemblies
12 minutes -
Young climate advocates blame attitudes, weak enforcement for Ghana’s recurring flood crisis
19 minutes -
School of Thoughts Ghana empowers Upper West students with AI, leadership, and market-ready skills
28 minutes -
Wa East MP injects GH¢100,000 into road programme to boost infrastructure works
29 minutes -
Ayine, Afenyo-Markin to headline African Governance and Anti-Corruption Summit in Accra
31 minutes -
Sissala East MP secures 15 new telecom sites to improve network coverage
32 minutes -
Fidelity Bank Atta Gyan calls for structural solutions to unlock capital for Ghana’s productive sectors
38 minutes -
Avenor collapsed building had weak concrete, no engineering oversight — GhIE
41 minutes -
MobileMoney Fintech calls Extraordinary General Meeting for June 12
48 minutes -
Why discipline, not ambition, will decide Ghana’s next business winners
53 minutes -
Preliminary probe points to lack of permit in Avenor building collapse
1 hour -
Today’s Front pages: Monday, June 8, 2026
1 hour -
Former PMMC CEO rejects pay-to-play award schemes, advocates service-driven leadership
1 hour -
Mahama pushes for stronger Ghana-Belarus partnership in agriculture, mining and manufacturing
1 hour