• BOplaid@discuss.tchncs.dedeleted by creator
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      Actually Linux is far more well known than for example Windows for access denied stuff. Though bypassing it is a matter of putting sudo at the beginning of the command and putting your password in. In Windows you have to traverse through a bunch of dialogues… which isn’t that hard but not as easy as the *nix approach.

  • Miller@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    19 days ago

    What it is actually saying is if you don’t know how to gain access to edit this file you should not be editing this file.

    • f314@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      When I was a kid I deleted the system32.dll file on my grandfather’s computer because it showed up in some error message. It did in fact not solve the error 😅

    • bequirtle@lemmy.world
      cake
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      I remember trying to mod a game from the xbox app, and couldn’t edit even with trustedinstaller/takeown shenanigans. Turns out the files are encrypted so you can’t even edit it from Linux. And if you disable encryption the game doesn’t run :D

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      Today I tried to wrestle my way with trusted installer… Went so far as to use psexec to make myself nt-authority\system and was still denied permission. ಥ_ಥ

      • Toes♀@ani.social
        link
        fedilink
        arrow-up
        0
        ·
        19 days ago

        I’ve done that, did nt authority not work for you? It did for me on server 2008.

        You might need to kill any processes with handles to it using process hacker.

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          19 days ago

          It was a DC using 2016 Essentials…And as it’s being replaced by a new server soonish, it wont matter as much anyway.
          I just hope it will limp along until then.

    • Postmortal_Pop@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      I wish. I spent 4 hours trying to get both I and docker to have permission to see my other drive. I finally gave up entirely and made a puid:guid that had access to everything short of root and put myself on that. It’s still dubious as to whether that will work…

        • Appoxo@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          18 days ago

          Well, you can technically boot Windows into safemode or boot the install iso to modify the files owned by TrustedInstaller. But should you really do it?

    • hansolo@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      “You fool, I could sudo rm the whole drive right now. It’s only out of my exuberant benevolence that I don’t.”

      Later: me pressing the up key 38 times rather than type sudo apt update && upgrade

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    19 days ago

    Mastering file permissions is a big part of becoming Linux capable. And it essential to the “everything is a file” ethos. Wanna lock down an important file or program? chmod is a powerful ally.

    Microslop has tried to adopt a half-ass elevated permissions scheme, but with lame-ass UAC and users who’ve no idea why Explorer doesn’t have administrator rights on their administrator account.

    • Viceversa@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      Windows’ way is more convenient for me, than chmod:
      windows allows you to regulate file access more granularly, more flexible - per any particular user , particular group.
      Chmod can’t do that.

      • yesman@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        19 days ago

        Either I don’t understand your comment, or you don’t understand chmod. What you describe ins’t beyond chmod; it’s the basic functionality of chmod.

        • Viceversa@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          19 days ago

          Via chmod you can’t configure access to some arbitrary group or user. You have only the owner user, owner group and everything else is crowded into one lump “other”.

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        ·
        19 days ago

        setfacl can do.
        It’s just that *NIX users want the stupid POSIX model and authenticating with user-ids (private keys) instead of proper usernames +password and private keys.
        Go figure /shrug

  • chuckleslord@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    19 days ago

    So? How the hell is it supposed to know that when you’re trying to do things wrong? Would you rather it let any one do anything, so long as they control the mouse?