//it should inherit the group ownership 'users' from the parent collection which is setGid
//and it should inherit the setGid bit
parentCollection = DatabaseManager.getCollection(baseUri + "/db/securityTest2/parentCollection", "test3", "test3");
ums = (UserManagementService)parentCollection.getService("UserManagementService", "1.0");
cms = (CollectionManagementService)parentCollection.getService("CollectionManagementService", "1.0");
final Collection subCollection = cms.createCollection("subCollection1");
final Permission permissions = ums.getPermissions(subCollection);
assertEquals("users", permissions.getGroup().getName());
assertTrue(permissions.isSetGid());
}