From: Hugo on
Hi !

I use robocopy tool with the following parameters to synchronize a directory
from one server to another one :

c:\batch\robocopy \\servername\backup$ d:\data\servername\mssql /mir
/copyall /mot:5 /ndl /nfl

I receive this message (for all files) :

2007/10/01 12:52:25 ERROR 1314 (0x00000522) Copying NTFS Security to
Destination Directory \\servername\backup$\BalanceProd\
A required privilege is not held by the client.

The command is executed on the destination server. The user have admin
rights on that server and full control rights through the share and NTFS on
the source server !!

Any idea ?

Hugo


From: Pegasus (MVP) on

"Hugo" <newschrg(a)noemail.noemail> wrote in message
news:OTry1zEBIHA.3916(a)TK2MSFTNGP02.phx.gbl...
> Hi !
>
> I use robocopy tool with the following parameters to synchronize a
> directory from one server to another one :
>
> c:\batch\robocopy \\servername\backup$ d:\data\servername\mssql /mir
> /copyall /mot:5 /ndl /nfl
>
> I receive this message (for all files) :
>
> 2007/10/01 12:52:25 ERROR 1314 (0x00000522) Copying NTFS Security to
> Destination Directory \\servername\backup$\BalanceProd\
> A required privilege is not held by the client.
>
> The command is executed on the destination server. The user have admin
> rights on that server and full control rights through the share and NTFS
> on the source server !!
>
> Any idea ?
>
> Hugo
>

I don't think this is a robocopy problem. It sounds very much
like a permissions problem. See if you can perform the individual
operations manually:
- Create the target directory
- Copy files to the target directory
- Overwrite files in the target directory
- Delete files from the target directory


From: Hugo on
Hi Pegasus !

Thank's for your reply !

It's true to say that it's not a robocopy problem... If I start robocopy
when logged on with an account that has Local Admin rights on source and
destination server (Domain Admin)... I have no problem !!! Why I have to
give admin right on source server ???

For security reason, I don't want to give local admin on many servers !!!

Any other idea !

Hugo


"Pegasus (MVP)" <I.can(a)fly.com> a �crit dans le message de news:
OEz3J9FBIHA.748(a)TK2MSFTNGP04.phx.gbl...
>
> "Hugo" <newschrg(a)noemail.noemail> wrote in message
> news:OTry1zEBIHA.3916(a)TK2MSFTNGP02.phx.gbl...
>> Hi !
>>
>> I use robocopy tool with the following parameters to synchronize a
>> directory from one server to another one :
>>
>> c:\batch\robocopy \\servername\backup$ d:\data\servername\mssql /mir
>> /copyall /mot:5 /ndl /nfl
>>
>> I receive this message (for all files) :
>>
>> 2007/10/01 12:52:25 ERROR 1314 (0x00000522) Copying NTFS Security to
>> Destination Directory \\servername\backup$\BalanceProd\
>> A required privilege is not held by the client.
>>
>> The command is executed on the destination server. The user have admin
>> rights on that server and full control rights through the share and NTFS
>> on the source server !!
>>
>> Any idea ?
>>
>> Hugo
>>
>
> I don't think this is a robocopy problem. It sounds very much
> like a permissions problem. See if you can perform the individual
> operations manually:
> - Create the target directory
> - Copy files to the target directory
> - Overwrite files in the target directory
> - Delete files from the target directory
>


From: Pegasus (MVP) on
You need to set your share and your NTFS permissions
so that the account that runs robocopy can do what it
needs to do. You're in charge!


"Hugo" <newschrg(a)noemail.noemail> wrote in message
news:ej%23QXLGBIHA.464(a)TK2MSFTNGP02.phx.gbl...
> Hi Pegasus !
>
> Thank's for your reply !
>
> It's true to say that it's not a robocopy problem... If I start robocopy
> when logged on with an account that has Local Admin rights on source and
> destination server (Domain Admin)... I have no problem !!! Why I have to
> give admin right on source server ???
>
> For security reason, I don't want to give local admin on many servers !!!
>
> Any other idea !
>
> Hugo
>
>
> "Pegasus (MVP)" <I.can(a)fly.com> a �crit dans le message de news:
> OEz3J9FBIHA.748(a)TK2MSFTNGP04.phx.gbl...
>>
>> "Hugo" <newschrg(a)noemail.noemail> wrote in message
>> news:OTry1zEBIHA.3916(a)TK2MSFTNGP02.phx.gbl...
>>> Hi !
>>>
>>> I use robocopy tool with the following parameters to synchronize a
>>> directory from one server to another one :
>>>
>>> c:\batch\robocopy \\servername\backup$ d:\data\servername\mssql /mir
>>> /copyall /mot:5 /ndl /nfl
>>>
>>> I receive this message (for all files) :
>>>
>>> 2007/10/01 12:52:25 ERROR 1314 (0x00000522) Copying NTFS Security to
>>> Destination Directory \\servername\backup$\BalanceProd\
>>> A required privilege is not held by the client.
>>>
>>> The command is executed on the destination server. The user have admin
>>> rights on that server and full control rights through the share and NTFS
>>> on the source server !!
>>>
>>> Any idea ?
>>>
>>> Hugo
>>>
>>
>> I don't think this is a robocopy problem. It sounds very much
>> like a permissions problem. See if you can perform the individual
>> operations manually:
>> - Create the target directory
>> - Copy files to the target directory
>> - Overwrite files in the target directory
>> - Delete files from the target directory
>>
>
>


From: Pegasus (MVP) on

"Mathieu CHATEAU" <gollum123(a)free.fr> wrote in message
news:uYifAbGBIHA.4496(a)TK2MSFTNGP06.phx.gbl...
> shooting on sight tonight ;)
>

Je ne comprends pas . .