Beecher Networks - Web Development, Hosting & Domains
Results 1 to 6 of 6

Thread: Anyone familiar with Robocopy?

  1. #1
    Capped Player A face's Avatar
    Joined
    Jun 2001
    Location
    Paradise
    Posts
    15,373
    Thanks Thanks Given 
    20
    Thanks Thanks Received 
    302
    Thanked in
    196 Posts

    Question Anyone familiar with Robocopy?

    Anyone familiar with Robocopy?

    Getting tihs error from a batch file ...

    Code:
    ERROR : You do not have the Manage Auditing user right.
    *****  You need this to copy auditing information (/COPY:U or /COPYALL).
    
           Simple Usage :: ROBOCOPY source destination /MIR
    
                 source :: Source Directory (drive:\path or \\server\share\path).
            destination :: Destination Dir  (drive:\path or \\server\share\path).
                   /MIR :: Mirror a complete directory tree.
    
        For more usage information run ROBOCOPY /? or read Robocopy.Doc.
    
    NOTE: Read "True Replication" in Robocopy.Doc prior to first use of /MIR !
    ****  /MIR can DELETE files as well as copy them !
    The SFAI are the governing body for grassroots football in Ireland, not the FAI. Its success or the lack of is all down to them.

  2. #2
    First Team Battery Rover's Avatar
    Joined
    Jul 2005
    Location
    Limerick
    Posts
    2,487
    Thanks Thanks Given 
    151
    Thanks Thanks Received 
    103
    Thanked in
    83 Posts
    Reading that it seems that it is an issue with user rights that come with you log in server side.

    Follow Us on Facebook and Twitter

  3. #3
    Capped Player A face's Avatar
    Joined
    Jun 2001
    Location
    Paradise
    Posts
    15,373
    Thanks Thanks Given 
    20
    Thanks Thanks Received 
    302
    Thanked in
    196 Posts
    Quote Originally Posted by Battery Rover View Post
    Reading that it seems that it is an issue with user rights that come with you log in server side.
    I gave the network account local admin rights and I changed /COPYALL to /COPY: DATSOU with U being the auditing logs. It copies the folder structure but getting 'access denied' for the files. I'm thinking its something up with the account.
    The SFAI are the governing body for grassroots football in Ireland, not the FAI. Its success or the lack of is all down to them.

  4. #4
    First Team Battery Rover's Avatar
    Joined
    Jul 2005
    Location
    Limerick
    Posts
    2,487
    Thanks Thanks Given 
    151
    Thanks Thanks Received 
    103
    Thanked in
    83 Posts
    Its been quite a few years since I did anything like this but something as simple as the user not being a local administrator of their own computer if it is not a domain controller could cause that message.

    Does it work with an account that has full administrative rights?

    Maybe there is a deny rights for this user account that may be stopping the higher rights level from working.

    Also it could be that the folder has certain settings but the files within may have deny rights for that account.

    What o/s are you running?
    Last edited by Battery Rover; 23/09/2008 at 10:49 PM.

    Follow Us on Facebook and Twitter

  5. #5
    Capped Player A face's Avatar
    Joined
    Jun 2001
    Location
    Paradise
    Posts
    15,373
    Thanks Thanks Given 
    20
    Thanks Thanks Received 
    302
    Thanked in
    196 Posts
    Quote Originally Posted by Battery Rover View Post
    Its been quite a few years since I did anything like this but something as simple as the user not being a local administrator of their own computer if it is not a domain controller could cause that message.

    Does it work with an account that has full administrative rights?
    I tried it with my admin account and got "A required privilege is not held by the client."

    Maybe there is a deny rights for this user account that may be stopping the higher rights level from working.

    Also it could be that the folder has certain settings but the files within may have deny rights for that account.
    I have given full control on either end but i tihnk i know whats wrong now. The ACLs on the folders might be the issue, basically the destination folder inherits the permissions from the parent, and i add in what i need and grant it full access but i dont think it likes inherited permissions so i have taken that off and will try it again in the morning (its on the other side of the site and i aint walking over now

    What o/s are you running?
    Its Win XP
    The SFAI are the governing body for grassroots football in Ireland, not the FAI. Its success or the lack of is all down to them.

  6. #6
    Capped Player A face's Avatar
    Joined
    Jun 2001
    Location
    Paradise
    Posts
    15,373
    Thanks Thanks Given 
    20
    Thanks Thanks Received 
    302
    Thanked in
    196 Posts
    Just an update on this. I have given the user ownership on the source and destination folders, with permissions granted directly (not inherited) but still that same issue. I think its something with the account and its user groups etc.

    And to confirm, the script works perfectly, its solely a permissions/access issue now.
    Last edited by A face; 26/09/2008 at 6:01 PM.
    The SFAI are the governing body for grassroots football in Ireland, not the FAI. Its success or the lack of is all down to them.

Similar Threads

  1. New Israel Crest - Seem Familiar?
    By 3 Heroes in forum World League Football
    Replies: 3
    Last Post: 29/05/2008, 3:02 PM
  2. Sound Familiar?
    By Rovers1 in forum Sligo Rovers
    Replies: 5
    Last Post: 20/06/2006, 9:34 PM
  3. Opening fixture has familiar feel
    By A face in forum St Patrick's Athletic
    Replies: 1
    Last Post: 18/03/2004, 11:16 PM
  4. In todays Examiner-sounds familiar
    By Bernie in forum Cork City
    Replies: 18
    Last Post: 04/10/2001, 3:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •