Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. memes
  3. Who's in charge?

Who's in charge?

Scheduled Pinned Locked Moved memes
memes
136 Posts 95 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A [email protected]

    idk tf chown does, use sudo instead. im not going to read man chown either.

    sudo su
    # do shenanigans in the cli/tui. gui is for noobs
    # nvim, ls, touch, stroke, tease, rm
    
    eyedust@lemmy.dbzer0.comE This user is from outside of this forum
    eyedust@lemmy.dbzer0.comE This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #114

    So I'm not the best at this, but this is my best guess (I have no experience in sysadmin, as I've only ever been the sole user of my PC and prefer not to network anything).

    Owner #1, smackyboi, has ownership of a file called smutgame.AppImage. This means they can choose who accesses smutgame, if it can execute, if it can be read or written by certain groups, etc.

    Owner #2, luvurealgood, on the system via their own account (or networked computer in the case of server storage) can't change these settings unless smackyboi says they could, because they're the owner and can add luvurealgood to the admin group for the file if they want. Smackyboi suddenly writes, sudo chown luvurealgood smutgame.AppImage.

    Now luvurealgood owns that file and can make every change they want to it, including removing smackyboi from accessing it, as they're no longer the owner. They can lock down the file and forbid it from being executed, etc etc. I believe anyone who is in the admin group of that file can do anything to it as well, except change it's ownership if its already owned.

    This is just from pieces of info and my tiny experience in Windows sysadmin shenanigans. Someone swoop in and correct me if I got anything wrong.

    1 Reply Last reply
    0
    • S [email protected]

      I don't know what's the hate with edge, it works wonderfully for an average user, it's fully configurable with add-ons and handles security policies really well

      The AI integration might be a bit over the top but nothing you can't disable in your side

      Really I don't see why you guys pile on so much on it

      V This user is from outside of this forum
      V This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #115

      Because it’s my fucking computer and I shouldn’t have to edit the registry to uninstall a program I don’t use.

      After every update it’s also reset to my default browser which is infuriating

      1 Reply Last reply
      4
      • E [email protected]

        That's a weird stance to take since the discussion was about file permissions, and there are absolutely ways around Windows protecting system files just like there are ways around Linux doing the same thing.

        There are many reasons to criticize Microsoft, but making it difficult for users to fuck up system files isn't one of them. Most users are of the "it's a box filled with magic smoke" variety, and they need to be protected from themselves.

        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote on last edited by [email protected]
        #116

        Oh we absolutely can throw shade at MS when they use the very same schemes to install "features" you cannot turn off or applications you cannot uninstall.

        FUCK MS for deciding what invasive spyware-I-mean-features to turn on with no recourse for the average user.

        E 1 Reply Last reply
        0
        • D [email protected]

          With arch+xfce4 I mostly don't. Except for when I do systemctl reload <service> in a cli without sudo and it pops a surprise elevation password request gui in my face. I haven't figured out what makes it behave like that.

          I use Arch btw 👉🧐 eats booger

          M This user is from outside of this forum
          M This user is from outside of this forum
          [email protected]
          wrote on last edited by [email protected]
          #117

          That’s the result of polkit (policy kit) authentication agents. These are typically DE-specific for their GUIs.

          pkexec is comparable to sudo and can be used from the terminal to get the graphical prompt for elevated commands.

          1 Reply Last reply
          2
          • adrianthefrog@lemmy.worldA [email protected]

            Is there a technical reason that Linux apps can't/don't just pop up an authenticator thing asking for more privileges like Windows apps can do? Why does nano just say that the file is unwriteable instead of letting me increase the privileges?

            black0ut@pawb.socialB This user is from outside of this forum
            black0ut@pawb.socialB This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #118

            Linux apps follow simplicity principles. If you don't have permission to delete a file, why assume you may know the password of the user who has permission?

            You can preface sudo to any command to execute it with root privileges, which would be similar to running as admin in windows.

            Graphical apps do tend to ask for authentication if it makes sense. No userland apps should need more permissions than the current user's in order to run.

            N 1 Reply Last reply
            2
            • L [email protected]

              Microsoft's monopoly and their for-profit anti-consumer practices is what's wrong with it. Their history says they cannot be trusted. I'd ask myself why they need a browser in the first place.

              raccoonball@lemm.eeR This user is from outside of this forum
              raccoonball@lemm.eeR This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #119

              Yup. As someone who lived through the internet explorer dark ages, I'm not eager for google and or Microsoft to have complete dominance

              1 Reply Last reply
              0
              • W [email protected]

                Glad to see another voice of sanity regarding Windows.

                If you haven't learned by now, on Lemmy the only valid option for dealing with Windows configuration and basic Windows admin tasks is to yeet Windows and go to Linux.

                raccoonball@lemm.eeR This user is from outside of this forum
                raccoonball@lemm.eeR This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #120

                Sometimes one wants to access a file without making changes though. Escalating privileges is the answer in this scenario and windows doesn't make that as easy,as it doesn't really want to you act as SYSTEM

                W 1 Reply Last reply
                2
                • frenchfryenjoyer@lemmings.worldF [email protected]

                  Edge is the best browser for downloading much better browsers lol

                  I This user is from outside of this forum
                  I This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #121

                  Best Chromium browser*

                  1 Reply Last reply
                  1
                  • S [email protected]

                    I don't know what's the hate with edge, it works wonderfully for an average user, it's fully configurable with add-ons and handles security policies really well

                    The AI integration might be a bit over the top but nothing you can't disable in your side

                    Really I don't see why you guys pile on so much on it

                    I This user is from outside of this forum
                    I This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #122

                    It uses chromium which people shouldn’t use

                    1 Reply Last reply
                    1
                    • B [email protected]

                      Then you sudo chmod. Windows I have to do weird shit with the properties context menu. And even that sometimes doesn't work. I run commands in powershell as Administrator. Still doesn't work.

                      Fuck Windows.

                      I This user is from outside of this forum
                      I This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #123

                      That’s just because Linux is designed for end users so everything is intuitive and easy. Windows is designed for tech nerds that like digging through pages to make anything work

                      B 1 Reply Last reply
                      0
                      • D [email protected]

                        With arch+xfce4 I mostly don't. Except for when I do systemctl reload <service> in a cli without sudo and it pops a surprise elevation password request gui in my face. I haven't figured out what makes it behave like that.

                        I use Arch btw 👉🧐 eats booger

                        adrianthefrog@lemmy.worldA This user is from outside of this forum
                        adrianthefrog@lemmy.worldA This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #124

                        Yeah, when I was on xfce on Arch I remember going into some places in the file manager where it wouldn't let me edit files etc without running it from the terminal through sudo.

                        1 Reply Last reply
                        0
                        • M [email protected]

                          Some do. I'm sure it is possible with terminal programs. In KDE, you do get authenticator pop-ups.

                          adrianthefrog@lemmy.worldA This user is from outside of this forum
                          adrianthefrog@lemmy.worldA This user is from outside of this forum
                          [email protected]
                          wrote on last edited by [email protected]
                          #125

                          Hmm I just tried editing some systemd service with Kate and it did actually give me an authenticator popup when I tried to save it

                          Although then the prompt expired and now it does nothing when I try to save it. Restarted Kate and now it works again...

                          I haven't tried that before

                          When I try to go into the sudoers.d folder tho it just says I can't, and the same thing happens when I try to open the sudoers file in Kate. If I try to copy and paste a systemd service in dolphin tho it just says I don't have permission and doesn't give a prompt.

                          lol if I open it with nano through sudo it says 'sudoers is meant to be read only'

                          1 Reply Last reply
                          0
                          • adrianthefrog@lemmy.worldA [email protected]

                            Is there a technical reason that Linux apps can't/don't just pop up an authenticator thing asking for more privileges like Windows apps can do? Why does nano just say that the file is unwriteable instead of letting me increase the privileges?

                            ytg@sopuli.xyzY This user is from outside of this forum
                            ytg@sopuli.xyzY This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #126

                            The GUI apps do (depends on your DE). Terminal apps like nano are designed to work without fancy desktop stuff, like Polkit. Any sort of graphical text editor should prompt you for your password.

                            systemctl still asks for a password, though. Because it's systemd, and it's part of everything.

                            1 Reply Last reply
                            0
                            • raccoonball@lemm.eeR [email protected]

                              Sometimes one wants to access a file without making changes though. Escalating privileges is the answer in this scenario and windows doesn't make that as easy,as it doesn't really want to you act as SYSTEM

                              W This user is from outside of this forum
                              W This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #127

                              100% true, and a great counterpoint.

                              ::: spoiler Copium/denial
                              That's well beyond even power user (imo) and into the forensic analysis realm though, where you should probably be using dedicated tools. I'm pretty sure there are still ways around this, ways to back up and restore the ACLs, but I haven't ran into a need to not touch the modified timestamp in the decade or so I've been doing tech work professionally nor in the decade before as simply a young enthusiast. There's still ways around that timestamp too, and arguments to be made that adjusting the ACL is touching metadata rather than the file itself.

                              I do what I can to stay out of ACLs at my workplace.
                              :::

                              Windows ACLs are far more complicated than they have any right to be, and file perms are generally far simpler on Linux.

                              1 Reply Last reply
                              0
                              • M [email protected]

                                Oh we absolutely can throw shade at MS when they use the very same schemes to install "features" you cannot turn off or applications you cannot uninstall.

                                FUCK MS for deciding what invasive spyware-I-mean-features to turn on with no recourse for the average user.

                                E This user is from outside of this forum
                                E This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #128

                                I'm not sure what that has to do with my comment.

                                1 Reply Last reply
                                0
                                • B [email protected]
                                  sudo chown <username> <file>
                                  
                                  chmod 700 <file>
                                  

                                  Don’t see a problem 😉 /s

                                  darkassassin07@lemmy.caD This user is from outside of this forum
                                  darkassassin07@lemmy.caD This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #129
                                   sudo chown -R <user> /
                                  

                                  Never have a permission issue again! Lmao

                                  1 Reply Last reply
                                  3
                                  • S [email protected]

                                    I don't know what's the hate with edge, it works wonderfully for an average user, it's fully configurable with add-ons and handles security policies really well

                                    The AI integration might be a bit over the top but nothing you can't disable in your side

                                    Really I don't see why you guys pile on so much on it

                                    darkassassin07@lemmy.caD This user is from outside of this forum
                                    darkassassin07@lemmy.caD This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #130

                                    A lot of the hate comes from Microsoft forcing it down everyones throats.

                                    If it had been left to user choice, they may actually have a decent userbase; but instead it's been forcefully installed on pretty much every windows computer regardless of the owners preferences, it repeatedly re-asserts itself as the default browser, some windows features are hard-coded to use it and break if its removed, there is no simple uninstall process, and windows update will re-install it if you manually remove it.

                                    It's my damn computer; if I don't want a piece of software, I should be able to remove it.

                                    Ditched Windows entirely 2 years ago partly because of that, partly because of the same upcoming behaviour with AI. Fuck Microshaft, I'll take my money and attention elsewhere. (I was previously paying for/using pro licenses, for features like RDP hosting)

                                    1 Reply Last reply
                                    1
                                    • black0ut@pawb.socialB [email protected]

                                      Linux apps follow simplicity principles. If you don't have permission to delete a file, why assume you may know the password of the user who has permission?

                                      You can preface sudo to any command to execute it with root privileges, which would be similar to running as admin in windows.

                                      Graphical apps do tend to ask for authentication if it makes sense. No userland apps should need more permissions than the current user's in order to run.

                                      N This user is from outside of this forum
                                      N This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #131

                                      Small pedantic correction, but you can’t preface every command with sudo; only executables can be invoked with sudo as it can’t elevate your current shell. Naturally, the way to execute non-executables such as builtin routines as root is to just spawn into a root shell with sudo su.

                                      1 Reply Last reply
                                      1
                                      • the_picard_maneuver@lemmy.worldT [email protected]
                                        This post did not contain any content.
                                        K This user is from outside of this forum
                                        K This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #132

                                        nobody was expecting linux users sucking eachothers cocks in the comment section

                                        jumping_redditor@sh.itjust.worksJ 1 Reply Last reply
                                        1
                                        • K [email protected]

                                          nobody was expecting linux users sucking eachothers cocks in the comment section

                                          jumping_redditor@sh.itjust.worksJ This user is from outside of this forum
                                          jumping_redditor@sh.itjust.worksJ This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #133

                                          I was, and so was c/unixsocks

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups