Redhat 5.5, logged in as root
I created a group dev-core
Then I create a new user tony
I changed tony's password and added tony to group dev-core
usermod -a -G dev-core tony
Then, I created a directory /devel
I changed it's group to dev-core
chgrp dev-core /devel
I changed the directory's permission to this
drwxrwx--- 3 root dev-core
Now, when I login as tony and try to access /devel, I get a permissions denied message.
I don't understand why, the group that tony belongs to has full access to that directory. Can anyone explain?