- From: "Steven Murawski" <
>
- To: "" <
>
- Subject: [chef] Re: recursive directory lwrp ?
- Date: Fri, 13 Mar 2015 16:26:03 -0500
My guess is that since one or more of the folder in that path structure may already exist and be acl'd by other means.
The "workaround" is to specify the directories where you want the acl's defined.
It is more work, but forces you to be explicit about the settings you want controlled and it is work that is done once.
Other concerns with changing acls up the directory tree - do you only set the permissions on folders Chef creates? Or do you re-acl everthing in the path that is defined?
There are a number of potential problems with setting acls on an undetermined number of ancestor directories as a general practice.
Steve
Steven Murawski
Community Software Development Engineer @ Chef
On 3/13/2015 2:34:39 PM, Medya <
> wrote:
as we all know, recursive true attribute of Directory resource, does not recursively create the directories with the owner that you mention in the resource,
I wonder what is the logical reason behind this design ?
and I also wonder if there is a recursive_directory resource I can use ? so it just creates all the directories recursively with the user and owner that I mention .
Archive powered by MHonArc 2.6.16.