Managing File and Folder Permissions Through the Command Line Utility (288292)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0

This article was previously published under Q288292

SUMMARY

This article describes how to use the command line utility to take ownership of all files and subdirectories in a folder, and to grant the Administrators group Full Control of these objects.

MORE INFORMATION

  1. Start a command prompt.
  2. To set ownership of a folder and all of its contents, run the following command:

    subinacl /subdirectories *.* /setowner=domainname\user
  3. To grant the Administrators group Full Control permissions to the folder and its contents, run the following command:

    cacls *.* /t /e /g domainname\administrator:f

Modification Type:MajorLast Reviewed:8/8/2001
Keywords:kbinfo KB288292