• fortified_banana@beehaw.org
    link
    fedilink
    English
    arrow-up
    49
    arrow-down
    1
    ·
    edit-2
    8 months 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

    • pipe01OP
      link
      fedilink
      arrow-up
      23
      ·
      8 months ago

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

    • Artyom@lemm.ee
      link
      fedilink
      arrow-up
      9
      ·
      8 months ago

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

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      8 months ago

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

    • jkrtn@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      8 months ago

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

      • fortified_banana@beehaw.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        8 months 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.

    • KindaABigDyl
      link
      fedilink
      arrow-up
      4
      ·
      8 months 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