Public bug reported:

This is on hardy.  The problem is quite strange and I don't know exactly
what the root of the problem is, so I'll just describe the symptoms.

After adding the current logged-in user into a system group with
addgroup command ("addgroup minghua src" in my case), I want to make it
effective without having to logout-and-relogin or reboot.  So I tried
"bash -l" to start a new login shell, which doesn't work.  I check the
"run command as a login shell" in gnome-terminal's profile, closed
gnome-terminal and relaunched it, still no dice.

Running "id" or "groups" shows no new group, but "id minghua" or "groups
minghua" shows the new group.  However, the system sees myself without
the "src" group membership, as tested by trying to write into a
permission 775 directory with ownership root:src, and getting denied.

This problem was reproduced by Emmet on #ubuntu-motu channel, and he
states that SSH login works (I didn't test).

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Strange behavior after adding a user to a certain group
https://bugs.launchpad.net/bugs/178059
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to