Issue #10269 has been updated by Josh Cooper.
This bug (not adding execute bits) also shows up when a non-executable file exists, and puppet attempts to overwrite it with a directory. Adding additional test cases for this. ---------------------------------------- Bug #10269: When creating directories, puppet does not set the search/traverse bit with read permission bit https://projects.puppetlabs.com/issues/10269 Author: Justin Bronn Status: Accepted Priority: Urgent Assignee: Josh Cooper Category: file Target version: 2.7.x Affected Puppet version: 2.7.6 Keywords: file mode permission Branch: There's been a regression with file resources in 2.7.6. For example, let's say you have the following in a manifest called 'bug.pp': file { "/tmp/newdir": ensure => directory, mode => '0600', } After applying the manifest, this is what the directory permissions look like: $ ls -l /tmp/newdir drw-------. 2 root root 4096 Oct 25 10:37 newdir Needless to say, this can cause havoc on manifests and other resource types that need to change into the created directory. -- 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.
