[chef] Re: setsuid using chef...


Chronological Thread 
  • From: AJ Christensen < >
  • To:
  • Subject: [chef] Re: setsuid using chef...
  • Date: Sat, 3 Mar 2012 15:03:02 +1300
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.42.72.130 as permitted sender) ; dkim=pass

Chef supports full octal 'modes' for files.

cookbook_file "foo" do
  mode 02755 # i believe this works non-stringed, and stringed, IIRC
end

--AJ

On 3 March 2012 12:43, andi abes 
< >
 wrote:
> I'm about to write an execute block to go change mode on a few files
> to g+rxs (setuid for group), which were deployed using cookbook_file.
> Can chef maintain the attributes in transit?
> Any better way of doing that?



Archive powered by MHonArc 2.6.16.

§