0
네트워크 폴더의 내용을 미니언의 로컬 디렉터리로 복사하도록 SLS 파일을 설정했습니다. 솔트 마스터를 통한 ROBOCOPY 사용
조금 다음과 같습니다 cmd를 테스트 : cmd.run : - 이름 : 'ROBOCOPY \\\ CygwinSource C : \ CygwinSource/E'얻을 다음과 같은 출력 :
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Tuesday, December 6, 2016 10:50:35 AM
2016/12/06 10:50:35 ERROR 1808 (0x00000710) Getting File System Type of Source \\<Server>\<program>\<file>\
The account used is a computer account. Use your global user account or local user account to access this server.
Source - \\<Server>\<program>\<folder>\
Dest : C:\<path>\<folder>\
Files : *.*
Options : *.* /S /E /DCOPY:DA /COPY:DATS /PURGE /MIR /NP /R:1 /W:1
------------------------------------------------------------------------------
NOTE : NTFS Security may not be copied - Source may not be NTFS.
2016/12/06 10:50:35 ERROR 1808 (0x00000710) Accessing Source Directory \\<Server>\<program>\<file>\
The account used is a computer account. Use your global user account or local user account to access this server.
Waiting 1 seconds... Retrying...
'ROBOCOPY \\\ CygwinSource C : \ CygwinSource/E'로 명령 줄에서 같은 것을 실행하면 완벽하게 작동합니다. Robocopy가 소금을 통해 사용할 때주는 것처럼 보이는 '로컬 사용자 계정 사용'을 수정하는 방법을 모르겠습니다.
나는/MIR과/SEC를 추가했는데 작동하지 않았다.
윈도우 10, 미니언 2016년 3월 3일 실행 마스터 : 레드햇, 2016년 3월 3일