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?
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 andi.abes@gmail.com 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?