group permission problems
I'm having some problems with group permissions. For some reason they just don't seem to work.
The way I understand it is that if a user is a member of a group and that file is owned by that group, the group permissions of that file affects the user. But it just doesn't.
For example, a file named fish:
ls -l fish
----rwx--- 1 ichi games 8 Aug 8 23:06 fish
Group permissions are read, write and execute, so I should be able to read it, alter it, and execute if it's executable, if my user is a members of the games group. Which I am:
cat /etc/group | grep ichi
wheel audio cdrom video games usb users portage
So I'm definately in the group. Yet when I try to read it:
cat: fish: Permission denied
Does anyone know why this might happen?
Thanks in advance.