News for hackers. Stuff that matters.
Re:How do groups work on Linux? by Asooka on Tuesday November 21, 2017 @08:14AM (#15747633)
Ohh, so THAT's why I have to log out and back in to have my group changes take effect. That, along with having to start a new shell to pick up new env vars from ~/.profile, are my two biggest annoyances with the Linux process model. Reminds me a bit of the Windows 98 days when you had to restart to change your IP address. I really wish someone would sit down and figure out how to propagate group and environment changes to already running processes and implement them.
Re:How do groups work on Linux? by bartbes on Tuesday November 21, 2017 @09:20AM (#15747970)
You can load your .profile into your current shell using either '. ~/.profile' or 'source ~/.profile'.
Re:How do groups work on Linux? by discreditable on Tuesday November 21, 2017 @12:14PM (#15749469)
For what it's worth, you have to logout/login on Windows for group changes to take effect. This makes me suspect something similar is at play in the Windows world.
Re:How do groups work on Linux? by heywire on Tuesday November 21, 2017 @08:23AM (#15747677)
Take a look at the command “newgrp”
Re:How do groups work on Linux? by gjjrfcbugxbhf on Tuesday November 21, 2017 @10:31AM (#15748507)
I think the op is looking for something like

addgroup && newgrp