On Thursday, June 27, 2013 at 6:31 AM, Jeppe Nejsum Madsen wrote:
On Thu, Jun 13, 2013 at 2:37 PM, Jeppe Nejsum Madsen < " target="_blank"> > wrote:/JeppeThe directory & files are created ok, and security is set on the directory.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
But the files do not get the required permissions...no mention of NETWORK SERVICE for the files.
Any clues?Strange, this works:
remote_directory root_path do
source 'AppRoot'
end
directory root_path do
rights :full_control, 'NETWORK SERVICE'
endIt would imagine this to be sufficient:
remote_directory root_path do
source 'AppRoot'
rights :full_control, 'NETWORK SERVICE'
end
But specifying rights on remote_directory doesn't work, even with the subsequent directory resource....
Bug?/Jeppe
Archive powered by MHonArc 2.6.16.