14 ms·
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
by Asooka 9y ago
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.
- heywire 9y agoTake a look at the command “newgrp”
- gjjrfcbugxbhf 9y agoI think the op is looking for something like addgroup && newgrp
- bartbes 9y agoYou can load your .profile into your current shell using either '. ~/.profile' or 'source ~/.profile'.
- deleted 9y ago[deleted]
- discreditable 9y agoFor 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.