Le 2014-08-07 18:52, a écrit :
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
Hi,
Your problem is probably the multi-hop limitation in winrm http://msdn.microsoft.com/en-us/library/ee309365(v=vs.85).aspx
I did get around this using the mount ressource and a file resource to manage file from network shares (The latest chef client (11.14.2 IIRC) has a fix about the file uri file:///c:/ for ruby cp to work fine.)
Hope this helps.
Archive powered by MHonArc 2.6.16.