-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Michael Velez Sent: Tuesday, December 13, 2011 8:14 To: centos@centos.org Subject: Re: [CentOS] Group permission problems [RESEND]
This seems to be ok but these:
$ groups michael adm
$ id uid=500(michael) gid=500(michael) groups=4(adm), 500(michael)
Say otherwise.
Might sound stupid but... did you make sure to logoff and back in
with your user?
Regards
Ok. I did not know I needed to log back off and on. OK. I'll try that although I can't do it now due to a currently running process. I'm actually accessing the machine through VNC. Could this be part of the issue as well? The session needs to be closed and re-opened before the new groups will take effect? Thanks,Michael
With Unix unless you are changing X or the kernel, you can most times just start a new instance of you. :) i.e., `xterm -ls -sb` or (in gnome) start a terminal click Edit -> Current Profile click 'Title and Command' make sure "Run command as login shell"** is checked, and click close. Start a new gnome terminal.
**you'll have to look back into the mists of time to see the argument about why neither gdm nor gnome-terminal made this the default. You may or may not want to undo the change later.