M
matt
hello,
i am attempting to deploy my local machine's files to a shared
folder on the production machine, elsewhere on the network. here is my
xcopy .bat:
SET SERVERPATH=\\SomeMachine\SomeShare\myProject
ECHO.
ECHO.
ECHO double-check path:
ECHO.
ECHO %SERVERPATH%\
ECHO.
PAUSE
xcopy D:\projects\myProject %SERVERPATH%\_code /e /k /r /o /h /i /d
/y /exclude:deploy_excludes.txt
....this works when testing w/ a local path, but fails on the production
machine w/ the following:
File creation error - This security ID may not be assigned as the
owner of this object.
Unable to create directory - \\SomeMachine\SomeShare\myProject
can anyone help me figure out what this means, and how to fix it?
for debugging i set the network share's permissions to allow "Everyone"
full control. i have no trouble copying the same files over via Windows
Explorer (my local workstation, to the network share's folder).
why would the xcopy fail? does it run under a different process than me
using Windows Explorer? is some sort of impersonation needed?
thanks!
matt
i am attempting to deploy my local machine's files to a shared
folder on the production machine, elsewhere on the network. here is my
xcopy .bat:
SET SERVERPATH=\\SomeMachine\SomeShare\myProject
ECHO.
ECHO.
ECHO double-check path:
ECHO.
ECHO %SERVERPATH%\
ECHO.
PAUSE
xcopy D:\projects\myProject %SERVERPATH%\_code /e /k /r /o /h /i /d
/y /exclude:deploy_excludes.txt
....this works when testing w/ a local path, but fails on the production
machine w/ the following:
File creation error - This security ID may not be assigned as the
owner of this object.
Unable to create directory - \\SomeMachine\SomeShare\myProject
can anyone help me figure out what this means, and how to fix it?
for debugging i set the network share's permissions to allow "Everyone"
full control. i have no trouble copying the same files over via Windows
Explorer (my local workstation, to the network share's folder).
why would the xcopy fail? does it run under a different process than me
using Windows Explorer? is some sort of impersonation needed?
thanks!
matt