Robocopy not copying permissions for non-inherited parent folder


hi

we have folder structure want copy robocopy. parent folder in structure set not inherit permissions. has custom security permissions , folders within set inherit, permissions parent. 

robocopy creates destination folder sets inherit permissions. causes child folders have wrong permissions. 

the work around we've found create parent folder on destination hand , set permissions, given number of permissions, i'd find solution.

we're using "robocopy c:\shares\myfolder '\\otherserver\c$\shares\myfolder' /sec /z /e"

the structure this;

c:\

- shares

-- myfolder <- set not inherit permissions.

---- lots of sub folders

any ideas why might ?

olly


i think if create myfolder @ destination, , remove inheritance, perform copy, should fine. should put security on myfolder you. i've used /copyall instead of /sec take attributes , security across. hope helps

mcts, mcse 2000/2003, mcsa 2000/2003, cna



Windows Server  >  File Services and Storage



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group