[chef] Setting security on remote_directory files in Windows


Chronological Thread 
  • From: Jeppe Nejsum Madsen < >
  • To: " " < >
  • Subject: [chef] Setting security on remote_directory files in Windows
  • Date: Thu, 13 Jun 2013 14:37:46 +0200

Hi,

Trying to create a directory containing files from a cookbook using the following:

remote_directory root_path do
  source 'AppRoot'
  rights :full_control, 'NETWORK SERVICE', :applies_to_children => true
  recursive true
end

The directory & files are created ok, and security is set on the directory.

But the files do not get the required permissions...no mention of NETWORK SERVICE for the files.

Any clues?

/Jeppe



Archive powered by MHonArc 2.6.16.

§