ebooyens
asked on
Copy share with heavily customised permissions
Hi there, just wondered if anyone had some suggestions for this: I'd like to move a share to a new sever but this share is enormous with about 50 users that's been using it heavily and NTFS permissions on sub-folders have been modified a lot over the last 5 years. Consequently the domain admin account I'm using doesn't have permissions on all the sub-folders.
I usually use robocopy but I can foresee running the script only to find multiple folders that I don't have permission to read, then having to go to each one individually and changing owner to myself, then adding in permissions for this account, only to kick off the robocopy script again and find sub-folders deeper in the hierarchy that I still can't read, and so on.
Anyone aware of a way that I can change owner of all the files to myself, then append a permission without replacing permissions completely?
Thanks!
I usually use robocopy but I can foresee running the script only to find multiple folders that I don't have permission to read, then having to go to each one individually and changing owner to myself, then adding in permissions for this account, only to kick off the robocopy script again and find sub-folders deeper in the hierarchy that I still can't read, and so on.
Anyone aware of a way that I can change owner of all the files to myself, then append a permission without replacing permissions completely?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Tyrant, that sounds exactly like what I'm after, we'll try it and award points if it works
h3nnys, that's exactly what I don't what to do that as that will get rid of all the custom security that's been done on sub-folders and replace it with parent permissions. Thanks anyway.
h3nnys, that's exactly what I don't what to do that as that will get rid of all the custom security that's been done on sub-folders and replace it with parent permissions. Thanks anyway.
You can also use the xcopy command with the /o option.
Map a network drive the new server and use this command
xcopy (folder you want to move) (destination folder) followed by /o swtich
xcopy test v:test /o
ACL's are copied to the new machine
Map a network drive the new server and use this command
xcopy (folder you want to move) (destination folder) followed by /o swtich
xcopy test v:test /o
ACL's are copied to the new machine
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Apologies for not accepting a solution sooner, I haven't been able to test these but from what I've read both these solutions will work, Tyrant's solution was what I what was looking for but if chqshaitan's works it will be simpler and faster. I'll report back when I eventually get round to testing. Thanks again!
click on Security TAB and then click advanced
select admin account and give it permission to that folder
once you have done that select the tickbox that says "Apply these settings to all sub folders and containers..." click ok
then select the tickbox that says " replace permissions on all child objects...." click apply and then ok
This should effectively give your Domain Admin account permissions to ALL folders and subfolders