I want to grant a user (username: eddie) access to all directories (with mod 770) shared by root (myself). I do it this way:
groups root
(here comes a list of groups in which root user is)
usermod -a -G group1 eddie
usermod -a -G group2 eddie
usermod -a -G group3 eddie
...
All the 'group1', 'group2', 'group3' are seen in the group list of root user.
However, after adding 'eddie' to all groups above (including group 'root'), he still can not write to directories shared by root user.
Did I do it wrongly?