Ask coding questions

← Back to all posts
What's stopping me from just deleting all the files in Repl.it's computers?
jort57 (25)

What's stopping anyone from just doing this:

import os

os.system('rm -rf /')

Will it delete everything in Repls computers? or do they have some sort of protection?

(and btw, that command deletes everything starting with your root directory, and clears yur hard drive.)

Answered by xxpertHacker (931) [earned 5 cycles]
View Answer
Comments
hotnewtop
xxpertHacker (931)

Your code runs in a docker container VM, you don't have root access either.