Merge #708: test for 'r' or no access on write/read