Issue #15559 has been updated by Melissa Stone.

Released in Puppet 3.4.0-rc1

----------------------------------------
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-100707

* Author: Adam Roben
* Status: Closed
* Priority: High
* Assignee: Josh Cooper
* Category: file
* Target version: 3.4.0
* Affected Puppet version: 2.7.6
* Keywords: windows file permissions dacl ace
* Branch: https://github.com/puppetlabs/puppet/pull/2074
----------------------------------------
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 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.

Reply via email to