[chef] File copy from Windows Share


Chronological Thread 
  • From: " " < >
  • To: " " < >
  • Subject: [chef] File copy from Windows Share
  • Date: Thu, 7 Aug 2014 16:52:59 +0000
  • Accept-language: en-GB, en-US

Hi Chefs

I still cannot copy the file L

I’ve got round the path limitation thanks to Carlos’s suggestion but I’m getting a permission error.

I’m just using ruby libraries to copy the file here;  FileUtils.cp_r(source, dest)

I’m getting the below error in the debug long from chef client

Using pure ruby it works, the path is fine. Access from the console on the node below works fine.

 

Can anyone shed any light on how this process happens via WinRM?  Could it be an issue with the process on the node running with insufficient permissions?

Any further information that would be useful for me to add?

 

[2014-08-07T12:43:48-04:00] ERROR: Running exception handlers

[2014-08-07T12:43:48-04:00] ERROR: Exception handlers complete

[2014-08-07T12:43:48-04:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out

[2014-08-07T12:43:48-04:00] DEBUG: Errno::EACCES: Permission denied - \\ATLQ-CHEF01.airwatch.qa\server.installs\dll.drops\7.1_HF05_Overlay_SAML_fix.zip

 

Thanks

Chris




Archive powered by MHonArc 2.6.16.

§