- From: Xabier de Zuazo <
>
- To:
- Subject: [chef] Re: Why link resource doesn't have permission mode ?
- Date: Tue, 17 Mar 2015 21:46:36 +0100
On 2015-03-17 12:42, Medya wrote:
>
the past few days I have been banging my head to the wall to solve a weird
>
ssh problem,
>
finally I found out chef creates all the links with permission 777 ( which
>
no decent SELinux would be happy with that)
>
>
so why link resource doesn't have permission mode in it ?
If I understand you correctly, you want to change the permission mode of a
symlink. You can use the mode attribute for that:
link '/...' do
to '...'
mode '0700'
end
https://docs.chef.io/resource_link.html#attributes
>
is Chef open to PullRequest if someone wants to add it ?
Yes, it is:
https://github.com/chef/chef/blob/master/CONTRIBUTING.md
--
Xabier de Zuazo
Attachment:
signature.asc
Description: Digital signature
Archive powered by MHonArc 2.6.16.