This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?