Issue #2451 has been updated by Luke Kanies.

Subject changed from File type does not set a folder permission properly to 
File type should support separate directory permissions
Category set to file
Status changed from Unreviewed to Accepted

This behaviour has worked well for most people so far, but I'm comfortable 
adding a 'dirmode' parameter; the behaviour would be the existing behaviour if 
dirmode is unspecified, and if it specified then the normal 'mode' parameter 
would just affect non-directories and 'dirmode' would only affect directories.

Is that acceptable?
----------------------------------------
Bug #2451: File type should support separate directory permissions
http://projects.reductivelabs.com/issues/2451

Author: Larry Ludwig
Status: Accepted
Priority: Normal
Assigned to: 
Category: file
Target version: 
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


If you do:
<pre>
file { '/tmp/test':
        mode => '644',
        ensure => directory,
}

[r...@localhost manifests]# puppet resource_defaults.pp --verbose --debug
debug: Creating default schedules
debug: Failed to load library 'ldap' for feature 'ldap'
debug: Finishing transaction -606516548 with 0 changes
debug: //File[/tmp/test]: Changing mode
debug: //File[/tmp/test]: 1 change(s)
notice: //File[/tmp/test]/mode: mode changed '777' to '755'
debug: Finishing transaction -605478848 with 1 changes
</pre>
The mode set it NOT correct it should be set to 644 for that folder.  This is 
because of security reasons.




-- 
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to