Do you ever rearrange the directory structure on your NetWare server? If so, you’ve probably wished that it were as easy to copy trustee assignments to the files and directories that you move as it is to copy the files and directories themselves. Novell has helped to solve this problem by releasing the Tcopy utility.

What does Tcopy do?
As you may know, you can use Ncopy to copy files and directories from one place on your server to another. Unfortunately, Ncopy only copies the files. It doesn’t copy the rights that you’ve assigned to those files. After you copy the files, you must go into NetWare Administrator and reassign the rights to the files in their new locations.

Alternatively, you can move files from one directory location to another with a backup utility. When you restore the files to a new location, the utility also restores the trustee rights to the files.

Both of these methods can be a hassle. Fortunately, Novell created the Tcopy utility to help speed up the transfer of trustee rights from one directory to another after you copy files.

Tcopy copies trustee assignments for a copied directory from one volume to another. It also can copy trustee assignments between two servers as long as both servers have the same users available in the same context in the NDS tree. Tcopy copies all rights—including inherited rights filters—that are defined in the directory structure.

Where do I get it?
Tcopy doesn’t come with any of the current versions of NetWare. You can get it by downloading the TCOPY2.EXE file from Novell’s support Web site. As with most Novell downloads, this one is a self-extracting executable. It’s only 174,964 bytes long, so it will download very quickly.

Copy the file to a temporary directory on your workstation and run the executable to extract the files. Next, copy the files to the Public directory on your server’s SYS volume. After that, you’re ready to use it.

How do I use it?
Tcopy works just like any other command line utility. You must run it from your administrative workstation at a command prompt. First, copy the files from one location to another by typing ncopy d1:\dirname1\*.* d2:\dirname2\*.* /e /s (where d1 and dirname1 are the first mapped drive and directory and d2 and dirname2 are the target mapped drive and directory).

Next, type tcopy d1:\dirname1\ d2:\dirname2\ /s. The amount of time it takes to complete varies depending on the speed of your network, your server, your workstation, and the complexity of the rights assigned. After it’s done, you can double-check the rights either in NetWare Administrator or by logging onto your server as one of the users with rights in the new directory.

John Sheesley has been supporting networks since 1986, when he got his hands on NetWare 2.2. Since then, he’s worked with the Jefferson County Police Department in Louisville, KY and the Genlyte-Thomas Group. John’s been a technical writer for several leading publishers, including TechRepublic, The Cobb Group, and ZDJournals. If you’d like to contact John, send him an e-mail .

The authors and editors have taken care in preparation of the content contained herein, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for any damages. Always have a verified backup before making any changes.