Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
pipe01 ( pipe01@programming.dev )  to Linux@programming.dev · 3 years ago

Me: Linux isn't that bad! Also me:

programming.dev

message-square
15
link
fedilink
112

Me: Linux isn't that bad! Also me:

programming.dev

pipe01 ( pipe01@programming.dev )  to Linux@programming.dev · 3 years ago
message-square
15
link
fedilink
  • fortified_banana ( fortified_banana@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    50
    ·
    3 years ago

    Looks like you’re on Fedora Silverblue (or other Atomic version). This is happening because the system groups are in /usr/lib/group rather than /etc/group and this causes the issue you’re seeing here. You can work around it by getting into a root shell with something like

    sudo -i

    and then getting the group added to /etc/group with

    grep -E '^dialout' /usr/lib/group >> /etc/group

    after that, you’ll be able to add your user to the group with

    usermod -aG dialout pipe

    • pipe01 ( pipe01@programming.dev ) OP
      link
      fedilink
      arrow-up
      23
      ·
      3 years ago

      Right on the money, that’s what I ended up doing. Thanks!

    • Artyom ( Artyom@lemm.ee ) 
      link
      fedilink
      arrow-up
      9
      ·
      3 years ago

      Is that considered a feature for some reason? That seems objectively terrible.

      • fortified_banana ( fortified_banana@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        8
        ·
        3 years ago

        No, it’s a side effect of how everything’s handled by rpm-ostree currently, and it’s on the list of issues to be fixed.

        See Here for more info

    • frezik ( frezik@midwest.social ) 
      link
      fedilink
      arrow-up
      6
      ·
      3 years ago

      Why can’t we keep system config things in /etc? It’s a method that works in unsurprising ways.

    • jkrtn ( jkrtn@lemmy.ml ) 
      link
      fedilink
      arrow-up
      5
      ·
      3 years ago

      Is etc the mutable part? Would you have to do this again to add more users after a reboot?

      • fortified_banana ( fortified_banana@beehaw.org ) 
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 years ago

        /etc is writable, so no reboots are required. That said, /etc is treated in a special way and each deployment will have its own /etc, based on the previous one.

        So if you make changes to /etc then revert to a previous deployment, your changes will be reverted as well. But if you make changes and upgrade (or do whatever to create a new deployment), your changes will bu preserved.

        • jkrtn ( jkrtn@lemmy.ml ) 
          link
          fedilink
          arrow-up
          3
          ·
          3 years ago

          That’s really helpful to understand the caveats, thank you.

    • KindaABigDyl ( KindaABigDyl@programming.dev ) 
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      It’s like when I run into some issue with how I’ve set up my system in NixOS and have to explain to a non-Linux user that it isn’t Linux that’s the issue but how I’m using an especially weird Linux lol

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca
  • our Matrix group chat
  • !reactos@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 113 users / day
  • 810 users / week
  • 1.82K users / month
  • 5.45K users / 6 months
  • 129 local subscribers
  • 15.6K subscribers
  • 4.61K Posts
  • 24.5K Comments
  • Modlog
  • mods:
  • Ategon ( Ategon@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • dwraf_of_ignorance ( dwraf_of_ignorance@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code