I found a (lengthy) guide to doing this but it is for gksu which is gone. I have to imagine there’s an easy way. I am running Ubuntu.

  • Peasley@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    That was also my take. If it’s something you should be able to edit, your user should have permissions to do that. Jumping to running as root every time has lots of unintended consequences.

    I do think a functionally similar idea would be a button to “take ownership” (grant r/w/d) of a file that would prompt for root password. That way things don’t run as root that shouldn’t. Would that be a good compromise between Linux permissions and Windows workflow?

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Isn’t that a feature that’s already implemented? The alternative is you could run chown -R [username] . in the correct directory.

      • Peasley@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        That’s what I’m thinking. A menu entry that just runs chown -R [username] on whatever you click is the idea