0.10.16 issues with cookbook_file mode


#1

I have a simple cookbook_file resources, which sets the mode to “0755”, however:
a) the file ends up having -rw------- 1 root root permissions
b) the chef client output has:
owner changed to 0
group changed to 0
mode changed to 600

any thoughts why chef client seems to ignore the mode value?


#2

On Wed, Oct 24, 2012 at 4:21 PM, andi abes andi.abes@gmail.com wrote:

any thoughts why chef client seems to ignore the mode value?

http://tickets.opscode.com/browse/CHEF-3547

That’s a bug. It’s fixed in 10-stable and will be included in a patch
release soon.

Bryan


#3

Thanks ! Sanity regained.

On Wed, Oct 24, 2012 at 5:05 PM, Bryan McLellan btm@loftninjas.org wrote:

On Wed, Oct 24, 2012 at 4:21 PM, andi abes andi.abes@gmail.com wrote:

any thoughts why chef client seems to ignore the mode value?

http://tickets.opscode.com/browse/CHEF-3547

That’s a bug. It’s fixed in 10-stable and will be included in a patch
release soon.

Bryan