(#20607) tentative fix failing tests on windows

Ruby on windows doesn't quite support all file permissions (as Windows
has completely different ACL system than Posix permissions). As such
the permissions chosen for this tests were badly failing those specs.
This (untested)fix should pass both on unix and windows systems.

Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>