• Forester@pawb.social
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    5
    ·
    edit-2
    3 days ago

    su root

    cd ~

    chown * root

    mv usr/ussr/ usr/gulag/

    cd usr/gulag/

    touch treason.txt

    touch you_and_siberia_and_stalin.txt

    chown usr/gulag/ 111

      • Forester@pawb.social
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        edit-2
        3 days ago

        Because that’s the home of root the su command is used to switch user

        • xthexder
          link
          fedilink
          arrow-up
          5
          ·
          2 days ago

          Root’s home has been /root on every distro I’ve ever used ¯\_(ツ)_/¯

          • Forester@pawb.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 day ago

            Consumer distros vs enterprise systems would be my guess I’m from the RHEL branch

        • kungen@feddit.nu
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          2 days ago

          But “/root” has kinda always been the root user’s home directory, not the root directory /.

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      I’m on Bazzite and this is how I feel any time I forget that I don’t have write permissions for basically that entire partition.