LukeSmithxyz / LARBS

Luke's Auto-Rice Bootstrapping Scripts: Installation Scripts for My Arch Linux Meta-Distribution
GNU General Public License v3.0
2.05k stars 803 forks source link

default group wheel ... #451

Closed kronikpillow closed 2 years ago

kronikpillow commented 2 years ago

useradd -a -G creates default user and default group same as username, and then appends wheel as a usergroup, while reading rest of the script, the intent is obviously to have wheel as the default usergroup due to chowning downloaded dotfiles and src files to username:wheel ...

current settings result in file permissions of files downloaded during install to be owned by username:wheel but newly created files are still owned by username:username due to -G flag ... use -g instead to set wheel as default usergroup