Issue #22335 has been updated by Josh Cooper. Status changed from Unreviewed to Needs More Information
Hi Klavs, using puppet to modify files that were installed via MSI is going to be problematic, not just for puppet, but any MSI-based application. You should try out [puppet 3.3.0-rc3](https://downloads.puppetlabs.com/windows/puppet-3.3.0-rc3.msi) which contains the recently released facter 1.7.3. About mode `2000770`, that's puppet's way of saying there are some access control entries that can't be mapped into puppet's posix-like model. As a result, puppet is trying to apply its notion of what the ACL should look like. But the user that puppet is running as does not have permission to do that. Are you running as a service? What did you specify for the `owner`, `group`, and `mode` for the file resource? For example, if puppet is running as a service, and you specify `owner => Adminstrator`, `group => Administrators`, and `mode => 0770`, then puppet will remove access control entries for `SYSTEM` such that puppet can no longer manage those files. See <http://docs.puppetlabs.com/windows/troubleshooting.html#file> and #15559 and #11563. ---------------------------------------- Bug #22335: windows mode 2000770 not handled by puppet https://projects.puppetlabs.com/issues/22335#change-97358 * Author: Klavs Klavsen * Status: Needs More Information * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: 3.2.4 * Keywords: * Branch: ---------------------------------------- I was trying to update facter on my puppet-3.2.4 install on windows (due to a bug with ipv6 addresses in $ipaddress fact which is fixed in 1.7.3-rc1). I tried to just use a file resource with recurse => true. Problem is, facter folder has mode 2000770 - which I can't define in file mode - and if I don't - it can't overwrite the files: Everything goes fine -until it gets to changing the mode on the facter folder: Notice: /Stage[main]/Puppet/File[C:\Program Files (x86)\Puppet Labs\Puppet\facter]/mode: mode changed '2000770' to '0770' Warning: /File[C:/Program Files (x86)/Puppet Labs/Puppet/facter/LICENSE]: Could not stat; permission denied Warning: /File[C:/Program Files (x86)/Puppet Labs/Puppet/facter/Gemfile]: Could not stat; permission denied -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
