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.


John


 

-- 
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+unsubscr...@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.


Reply via email to