• exu@feditown.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 days ago

    I ran the command without sudo first. It had a bunch of permission errors removing stuff in /tmp. So I retried but with sudo

    • superkret@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      22 days ago

      /tmp is world-writable. If you get permission-errors, you should become suspicious.
      Also, whenever you write “sudo rm -rf” you should quadruple-check if that’s really what you want to do.
      Non-interactively deleting entire directories in root space isn’t something you should have to do normally.