PC DB: Keeping NTFS Security Intact When Moving a PO (127954)



The information in this article applies to:

  • Microsoft Mail for PC Networks 3.0
  • Microsoft Mail for PC Networks 3.2
  • Microsoft Mail for PC Networks 3.2a

This article was previously published under Q127954

SUMMARY

When you copy or move the MAILDATA directory structure and files from one Microsoft Windows NT file system (NTFS) volume to another NTFS volume, you may want to ensure the Windows NT security permissions stay intact. The most efficient and reliable way is to use the SCOPY.EXE utility, included in versions 3.1 and 3.5 Microsoft Windows NT Resource Kits.

MORE INFORMATION

NTFS volumes allow Administrators to use additional security features from a directory down to a single file. Permissions and ownerships are established by the NT Server Administrator and/or File Creators. These permissions can be lost if MAILDATA is copied or moved via File Manager or the MS-DOS copy utilities.

The SCOPY.EXE utility is designed to retain NTFS security attributes when you copy or move data from one NTFS volume to another. SCOPY will work between the same and mixed versions of NT.

However, if you use SCOPY.EXE to move a postoffice, it will generate two errors for each read-only file it encounters. For example,
N:\ATT\POPULATE.MSM --> M:\ATT\POPULATE.MSM
File copied failed
Access is denied
Regardless of the errors, SCOPY will succeed in copying the file with security permissions and file attributes intact. At the end of the process, you will see an inaccurate count of file(s) copied. This is the result of SCOPY not counting the files that generated the above errors.

Here is a list of the files that are read-only by default in MAILDATA (expect to see errors on each file):

In every sub-directory under MAILDATA:

  • POPULATE.MSM
MAILDATA\TPL:

  • all *.TPL files
MAILDATA\GLB:

  • ANSISORT.GLB
  • C850SORT.GLB
  • DS_MSG.GLB
  • ENGMAI.GLB
  • ENGMON.GLB
  • ERRORADM.GLB
  • ERRORDYN.GLB
  • TRANSFIL.GLB
  • WELCOME.GLB
  • all *.SCR files
  • all *.MDM files
MAILDATA\HLP:

  • all *.HLP files
The SCOPY command-line syntax is as follows:
   SCOPY source destination [/o] [/a] [/s]

source         Specifies files to copy.
destination    Where to copy files to.
/o             Copies owner security information.
/a             Copies auditing information. Requires that you have
               the Manage Auditing User Right on both the source and
               destination computers.
/s             Copies all files in subdirectories.
				

Modification Type:MajorLast Reviewed:10/28/1999
Keywords:KB127954