data files

G

Guest

Guest
Archived from groups: microsoft.public.win2000.file_system (More info?)

i have to move all the data from old server (windows2000) to new server
(windows2003)

how can i reserve the owner particular of the file in the new server?

Thanks a lot.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.file_system (More info?)

On Thu, 17 Mar 2005 15:07:38 +0800, "Tony WONG" <x34@hknet.com> wrote:

>i have to move all the data from old server (windows2000) to new server
>(windows2003)
>
>how can i reserve the owner particular of the file in the new server?
>
>Thanks a lot.
>
See tip 8587 in the 'Tips & Tricks' at http://www.jsiinc.com

The ACLs are transfer by subinacl

If you use
subinacl /noverbose /outputlog=c:\zipnew\subinacl.log /subdirectories "c:\zipnew" /display
then c:\zipnew\subinacl.log contains:

================
+File c:\ZIPNEW
================
/control=0x0
/owner =jsiinc\jerry
/primary group =jsiinc\domain admins
/audit ace count =0
/perm. ace count =11
/pace =jsiinc\jennifer Type=0x0 Flags=0x3 AccessMask=0x1f01ff
/pace =builtin\administrators Type=0x0 Flags=0x10 AccessMask=0x1f01ff
/pace =builtin\administrators Type=0x0 Flags=0x1b AccessMask=0x10000000
/pace =system Type=0x0 Flags=0x10 AccessMask=0x1f01ff
/pace =system Type=0x0 Flags=0x1b AccessMask=0x101f01ff
/pace =jsiinc\jerry Type=0x0 Flags=0x10 AccessMask=0x1f01ff
/pace =creator owner Type=0x0 Flags=0x1b AccessMask=0x10000000
/pace =builtin\users Type=0x0 Flags=0x10 AccessMask=0x1200a9
/pace =builtin\users Type=0x0 Flags=0x1b AccessMask=0xa0000000
/pace =builtin\users Type=0x0 Flags=0x12 AccessMask=0x4
/pace =builtin\users Type=0x0 Flags=0x12 AccessMask=0x2

If you subinacl /playfile c:\zipnew\subinacl.log on the new server, the ownership and permissions are restored.


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com