[chef] Is CHEF-686 back from the dead? (umask problem)


Chronological Thread 
  • From: Eric-Olivier Lamey < >
  • To:
  • Subject: [chef] Is CHEF-686 back from the dead? (umask problem)
  • Date: Mon, 7 Feb 2011 22:48:04 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QiuVuUAfPuCTD4QwL1cef40XLBkkYuB/zIXrf52YcsbqPUrp5TJFyExTerhtDhQQk5 Vs1DTCFQu1u84KxdhXboV1sW323mpAiEv0FWEhoqp1uXHeEEH7Y/tud1oDevbYgzYxS1 9sRIqMR13/tu9lceEUo2rfBOyfwlMcLiy0kJU=

  Hi everyone,

  I am seeing umask problems on a test chef install and, before
  reopening CHEF-686, I wanted to try to understand if this comes
  from my own mistake or if the umask setting code has been lost
  since 0.7.16.

  I have installed chef 0.9.12 from my own RPMs (which I built for
  ruby 1.9.2, which I also package) on CentOS 5.5 x86_64. All the
  files and directories created by chef-server and chef-server-webui
  are world-writable. As per CHEF-686, I tried to change the umask
  in merb-core (lib/merb-core/server.rb) and the problem goes away,
  but this is not a real fix. I see that chef is setting its umask in
  lib/chef/daemon.rb but I don't see where this code is called. The
  fix for CHEF-686 was applied at the time to chef-server/config/init.rb
  and has since disappeared.

  Since I am using my own ruby and chef install, I wanted to check
  if anyone has the same problem before opening a ticket on JIRA.

 Thanks.

--
Eric-Olivier Lamey



Archive powered by MHonArc 2.6.16.

§