access() is supposed to return 0 if all of the desired access modes