HomePhorge

Check for the appropriate permissions in File type tests on Windows
a0013e4b2d80Unpublished

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>
(cherry picked from commit 447c1171845d8d17e4e684c9508fddecc003d15e)

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU58c7dacef626: 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 rPUa0013e4b2d80: Check for the appropriate permissions in File type tests on Windows (authored by Jacob Helwig <jacob@puppetlabs.com>).Aug 19 2011, 10:52 PM