Tests for bug #8972 - Add permission checks to run_simple_posix_open_test().