Robert Rothenberg
2012-Dec-18 16:28 UTC
[Puppet Users] Puppet v2.7.209 setting permissions recursively
How can I get Puppet to recursively set permissions of a directory, so that the directory and all subdirectories have move 0755 but the files in the directory have mode 0644? When I use the recurse => true option, it sets the files in the directory to executable as well. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/ih_w4rTaGK0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Robert Rothenberg
2012-Dec-18 16:30 UTC
[Puppet Users] Re: Puppet v2.7.209 setting permissions recursively
On Tuesday, December 18, 2012 4:28:14 PM UTC, Robert Rothenberg wrote:> > How can I get Puppet to recursively set permissions of a directory, so > that the directory and all subdirectories have move 0755 but the files in > the directory have mode 0644? When I use the recurse => true option, it > sets the files in the directory to executable as well. > > I should add that if I set the directories to mode 0644, then thedirectory and subdirectories don''t have search permissions either. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/d9Zp7hyAJm8J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Ellison Marks
2012-Dec-18 17:39 UTC
[Puppet Users] Re: Puppet v2.7.209 setting permissions recursively
Perhaps this bug? http://projects.puppetlabs.com/issues/10269 Though this was fixed in 2.7.7... I''m not entirely clear as to what version you''re on. On Tuesday, December 18, 2012 8:28:14 AM UTC-8, Robert Rothenberg wrote:> > How can I get Puppet to recursively set permissions of a directory, so > that the directory and all subdirectories have move 0755 but the files in > the directory have mode 0644? When I use the recurse => true option, it > sets the files in the directory to executable as well. > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/0zNAD3DfNKoJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
jcbollinger
2012-Dec-18 22:00 UTC
[Puppet Users] Re: Puppet v2.7.209 setting permissions recursively
On Tuesday, December 18, 2012 11:39:07 AM UTC-6, Ellison Marks wrote:> > Perhaps this bug? > http://projects.puppetlabs.com/issues/10269 > Though this was fixed in 2.7.7... I''m not entirely clear as to what > version you''re on. > >Indeed. There is no version 2.7.209 of Puppet -- the latest is 2.7.20. Anyway, what you are supposed to do is leave off the execute/search bits of the mode, and let Puppet add them automatically to directories where the specified mode allows reading. If Puppet has regressed on that behavior again then I am certain that PL would appreciate you filing a ticket. This is the first I''ve heard about a second such a regression, however, so check your version. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/dH3y90R4nU8J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
jcbollinger
2012-Dec-18 22:02 UTC
[Puppet Users] Re: Puppet v2.7.209 setting permissions recursively
On Tuesday, December 18, 2012 4:00:51 PM UTC-6, jcbollinger wrote:> > > Indeed. There is no version 2.7.209 of Puppet -- the latest is 2.7.20. > >I mean the latest in the 2.7 series, of course. The very latest is 3.0.1, with 3.0.2 now on the horizon. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/oNFg6v9K7osJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.