On Wednesday, February 6, 2013 1:16:03 PM UTC-6, Byron Appelt wrote:
I want to recursively set the mode of files in a directory to '0750' but
set the permissions of the directory itself to '2750'. I cannot figure out
a way to accomplish this. Is it possible?

The File resource type does not support it, but you can accomplish it via
an Exec. Note also that recursive file management is usually better
avoided. If there are too many files to enumerate easily then you would
probably be better off building a package of them (i.e. an .rpm / .deb /
whatever) and managing them as a group via the Package resource type.


You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
grouppuppet-users @
postedFeb 6, '13 at 7:16p
activeFeb 6, '13 at 10:23p

2 users in discussion

Jcbollinger: 1 post Byron Appelt: 1 post



site design / logo © 2022 Grokbase