Issue #15559 has been updated by Andrew Parker. Target version deleted (2.7.x)
As the 2.7.x line is winding down, I am removing the target at 2.7.x from tickets in the system. The 2.7 line should only receive fixes for major problems (crashes, for instance) or security problems. ---------------------------------------- Bug #15559: Puppet can't write into directories it creates on Windows unless SYSTEM account is explicitly given write access https://projects.puppetlabs.com/issues/15559#change-80540 Author: Adam Roben Status: Accepted Priority: Normal Assignee: Josh Cooper Category: file Target version: Affected Puppet version: 2.7.6 Keywords: windows file permissions dacl ace Branch: Given a manifest like the following: user { 'SomeUser': home => 'C:/Users/SomeUser' password => 'SomePassword', } file { 'C:/Users/SomeUser': ensure => directory, owner => 'SomeUser', group => 'SomeUser', mode => '0775' require => User['SomeUser']; 'C:/Users/SomeUser/SomeFile.txt': ensure => present; } Puppet will fail to create SomeFile.txt because it doesn't have permission to write to C:\Users\SomeUser. On Linux, where Puppet typically runs as root, this is not a problem. But on Windows, the user running Puppet needs to explicitly be given write permissions to C:\Users\SomeUser. Perhaps Puppet should do that automatically? This would both make Puppet's behavior more intuitive, and make it easier to share manifests between Linux and Windows. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
