HomePhorge

Check for the appropriate permissions in File type tests on Windows
447c1171845dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Check for the appropriate permissions in File type tests on Windows

Ruby's interface to the permissions on Windows does not map well to
the *nix concept of User, Group, and Other. On Windows directories
don't get the execute bit, and Ruby cannot manage group, and other via
the standard chmod interfaces.

Because of this, we no longer check that the execute bit is set on
Windows, and use a permission set that will show differences if we
fail to set the permissions on Windows.

Reviewed-by: Nick Lewis <nick@puppetlabs.com>

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6385e08004ff: Remove :fails_on_windows from file type tests that no longer fail on Windows
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPU447c1171845d: Check for the appropriate permissions in File type tests on Windows (authored by Jacob Helwig <jacob@puppetlabs.com>).Aug 3 2011, 1:34 AM