not really programming and probably butchered the execution on that cmd but this felt like the only place it would be funny to post it

    • sad_detective_man@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      44
      ·
      3 months ago

      takes ownership of the C disk in windows and gives administrators full priveledges for program files. by default they belong to “trustedinstaller” which bars you from using a lot of your own computer, even if you make an admin account.

        • AnyOldName3@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          3 months ago

          Windows permissions are more flexible than basic Unix ones. A file doesn’t just have an owner and a group, it can have individual permissions for arbitrarily many entities, so taking ownership doesn’t remove any of the permissions from anything that already had access, it just adds more. The command shown here is closest in effect to deciding you’re always going to log in as root from now on, although Windows has a way to effectively do that without modifying the ACL of every file. Either way, it’s silly, and usually people who suggest it are under the impression that XP did permissions right by not meaningfully enforcing them and not having an equivalent of a root account you can temporarily switch to, and Vista only changed things specifically to annoy people, and not to be more like Unix.

      • Honytawk@lemmy.zip
        link
        fedilink
        English
        arrow-up
        8
        ·
        3 months ago

        Good on you if you think you can handle the responsibility of being able to completely wreck your OS. The option exists for a reason.

        But Windows was made with the average user in mind. And they can’t be trusted with that kind of power.

        Though I do question the security issues that arise from doing this. If your account can break everything, so can every software/malware you install.

      • Agent641@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        3 months ago

        “Trusted installer” has such “Trust me bro” energy and I hate it. I don’t trust you one goddamned bit gimmie those files!

    • lmmarsano@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      3 months ago

      Cool way to break your computer wide open to security exploits.

      Also, an awesome image of text, so people can’t just copy & paste it, but that’s more of a hidden blessing.