Issue #2451 has been updated by Peter Meier.
http://www.wellho.net/mouth/2300_What-does-x-on-a-linux-directory-mean-.html gave me some reasons, why you'd like to have it like that. on the other side we might come with problems while recursively managing a directory. for sure the best would be to not set the +x and to have maybe something like a auto_x_bit_on_directory option for the file resource type, to get the old behaviour back. if we're going to introduce the more strict way: this change might break a lot of existing configurations and we should first give a possiblitly to force the strict way and give a deprecation warning on the old way and then in a next major release change it to the other way. ---------------------------------------- Bug #2451: File type does not set a folder permission properly http://projects.reductivelabs.com/issues/2451 Author: Larry Ludwig Status: Unreviewed Priority: Normal Assigned to: Category: Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: If you do: 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 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 -~----------~----~----~----~------~----~------~--~---
