puppetlabs/puppet — pull request #2299 by Iristyle (2014-01-25 01:49:51+00:00)
Title: PUP-1450 Windows file resource Invalid DACL errors

- When the source of a file resource is referred to through a symlink
it's possible the volume for the real file does not support ACLs.
Unfortunately it's not possible to simply readlink the path to
determine the real path / volume, so the best thing to do is
attempt to read the DACL of the file, catch the exception when it's
invalid and fallback to default owner / group / mode on Windows.
- Note that this particular issue also affects paths like the Puppet
module path puppet:///modules that may be symlinked in environments
like Vagrant.