Change Access Restrictions (chaccess)

Summary: Changes the type of access allowed at a given node, on a set of specified machines

You can use this 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

Comman 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 machines.

If no machine 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

Example:

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

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