I have a directory called test. the ownership of that directory belongs to the 'aa' group.
I have a user junioradm whose primary group is 'adm' but is also a member of the 'aa' group.
I'm executing a java program as the junioradm user. The program is supposed to create directories in the test directory.
When I run the program mkdir() is returning false. If I change the group owner of the test directory to 'adm' the program executes fine.
The problem seems to be that java does not recognise that ‘junioradm’ is a member of the ‘aa’ group and will not create the directories because of this.
Has anyone seen this problem before or encountered bug 4052517? Is there any known solution?