assert W_OK|R_OK file access to database

also docfix about port23