jdbc + fixed permissions