Re: XCOPY deployment -- security failure: "File creation error..."
- From: "Marty List" <usenet@xxxxxxxxxxxx>
- Date: Sat, 2 Sep 2006 20:39:16 -0600
Here's some things to try:
- Try adding quotes around the paths in case any contain spaces and cmd.exe
is parsing the parameters differently than what you would expect:
xcopy "D:\projects\myProject" "%SERVERPATH%\_code"
- Try removing parameters from xcopy, make it simpler to troubleshoot. For
example, these are different than what you get with explorer.exe: "/o" and
"/exclude:deploy_excludes.txt"
- Try looking at the Security event log on the server, you may need to
enable auditing on both the share and the parent folder.
<matt@xxxxxxxxxxxxxx> wrote in message
news:1157134416.963550.241610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
.
- Prev by Date: Re: VBScript date calculation
- Next by Date: batch file for share permissions
- Previous by thread: VBScript date calculation
- Next by thread: Re: XCOPY deployment -- security failure: "File creation error..."
- Index(es):
Relevant Pages
|
|