[This is preliminary documentation and subject to change]

# Change Access Restrictions (chaccess)

Summary:

Changes the type of access allowed at a given node, on a set of specified computers. You can use this to control whether a directory, virtual directory, or file has read or execute attributes, for example.

Usage:

chaccess | -a ADSPATH -computer|-c COMPUTER1, COMPUTER2,... [+read|-read] [+write|-write] [+script|-script] [+execute|-execute] [+browse|-browse] [-verbose|-v] [--help|-?]

Parameters:

-a ADSPATH | Machine relative path name.For example -a w3svc/1
-Computer | Comma-separated list of computers on which to make the change. For example -c Machine1,Machine2,Machine3. Note that this assumes that the specified path exists on all specified computers. If no computer is specified, LocalHost is assumed.
+-write | Turns on/off write permissions for this node.
+-script | Turns on/off script permissions for this node.
+-execute | Turns on/off exectue permissions for this node.
+-browse | Turns on/off directory browsing for this node.
-verbose | Print status information during processing.

Examples:

chaccess -a w3svc/1/ROOT +read -write +script +browse

chaccess -c MACHINE1,MACHINE2 -a w3svc/1/ROOT +read -write +script +browse

© 1997-2001 Microsoft Corporation. All rights reserved.