HomePhorge

Fix problem with set_mode (chmod) behavior on different test environments.
599642de918dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix problem with set_mode (chmod) behavior on different test environments.

Issuing a set_mode on a symlink with 0755 on MacOSX produces a link
with the correct mode. On other Linux's (Ubuntu, specifically) all
symlinks report 0777 regardless of how it was set. This mod simply
gets the mode after the symlink is created and uses that in the test
evaluation.

Reviewed by: josh@puppetlabs.com

Details

Provenance
Cameron Thomas <cameron@puppetlabs.com>Authored on
Josh Cooper <josh@puppetlabs.com>Committed on Oct 1 2011, 2:12 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb43765da499e: Undo change to failing test on 1.8.5
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU599642de918d: Fix problem with set_mode (chmod) behavior on different test environments. (authored by Cameron Thomas <cameron@puppetlabs.com>).Oct 1 2011, 2:12 AM