wouldn't you want `O_WRONLY` instead of `O_RDWR`?