Issue #15559 has been reported by Adam Roben.
----------------------------------------
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
Author: Adam Roben
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
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.