I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.

  • SkaveRat@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    3 hours ago

    that was my reaction when I saw a coworker put random files and directories into / of a server

    I feel like some people don’t have a feeling about how a file system works

    • Trainguyrom@reddthat.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      Its a pretty common Windows server practice to just throw random shit on the root directory of the server. I’m guilty of this at times when there isn’t a better option available to me, but I at least use a dedicated directory at the root for dumping random crap and organize the files within that directory (and delete unneeded files when done) so that it doesn’t create more work later.

    • macniel@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      Maybe they do and don’t fear the HFS? I mean do you use the HFS in a docker container?